rebase: distinguish user input by quoting it

Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Kaartic Sivaraam 2017-12-16 14:33:18 +05:30 committed by Junio C Hamano
parent 3a9156adc7
commit ca7de7b12a

View File

@ -477,7 +477,7 @@ then
;; ;;
esac esac
upstream=$(peel_committish "${upstream_name}") || upstream=$(peel_committish "${upstream_name}") ||
die "$(eval_gettext "invalid upstream \$upstream_name")" die "$(eval_gettext "invalid upstream '\$upstream_name'")"
upstream_arg="$upstream_name" upstream_arg="$upstream_name"
else else
if test -z "$onto" if test -z "$onto"
@ -539,7 +539,7 @@ case "$#" in
head_name="detached HEAD" head_name="detached HEAD"
else else
die "$(eval_gettext "fatal: no such branch/commit: \$branch_name")" die "$(eval_gettext "fatal: no such branch/commit '\$branch_name'")"
fi fi
;; ;;
0) 0)