diff options
author | Shulhan <m.shulhan@gmail.com> | 2018-09-13 20:18:33 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-14 09:38:18 -0700 |
commit | 5025425dffffb4424b746de9209f874ab8b5d179 (patch) | |
tree | f2128c0bb0eb50fd910c98f3f8848c4ab2cf5a0a /streaming.c | |
parent | Git 2.19 (diff) | |
download | tgif-5025425dffffb4424b746de9209f874ab8b5d179.tar.xz |
builtin/remote: quote remote name on error to display empty name
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 shows the
empty string without quote,
fatal: No such remote: \n
To make these error messages consistent, quote the name of the remote
that we tried and failed to find.
Signed-off-by: Shulhan <m.shulhan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'streaming.c')
0 files changed, 0 insertions, 0 deletions