git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [RFC PATCH 0/1] builtin/remote: quote remote name on error to display empty name
@ 2018-09-12 14:45 Shulhan
  2018-09-12 14:45 ` [RFC PATCH 1/1] " Shulhan
  2018-09-12 16:20 ` [RFC PATCH 0/1] " Junio C Hamano
  0 siblings, 2 replies; 4+ messages in thread
From: Shulhan @ 2018-09-12 14:45 UTC (permalink / raw)
  To: git; +Cc: Shulhan, Junio C Hamano, Johannes Schindelin, Brandon Williams

Rationale: consistent error format

When adding new remote name with empty string, git will print the
following error message,

  fatal: '' is not a valid remote name\n

But when removing remote name with empty string as input, git did not
print the empty string with quote,

  fatal: No such remote: \n

Follow up question: If this is ok, should the po files also updated?

This is my first patch, sorry if I did some mistakes.

Shulhan (1):
  builtin/remote: quote remote name on error to display empty name

 builtin/remote.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.19.0.398.gef7f67bed


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-12 21:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-12 14:45 [RFC PATCH 0/1] builtin/remote: quote remote name on error to display empty name Shulhan
2018-09-12 14:45 ` [RFC PATCH 1/1] " Shulhan
2018-09-12 21:28   ` Junio C Hamano
2018-09-12 16:20 ` [RFC PATCH 0/1] " Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).