diff options
author | Kaartic Sivaraam <kaartic.sivaraam@gmail.com> | 2017-12-16 14:33:18 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-19 10:02:44 -0800 |
commit | ca7de7b12a13c4531485788b07259a2e241f8159 (patch) | |
tree | 02d7218dda246e5ad8d26a5cb1f617402fdc9e39 /git-rebase.sh | |
parent | 3a9156adc774f28b3b0f880cdd285a7e01118d15 (diff) | |
download | git-ca7de7b12a13c4531485788b07259a2e241f8159.tar.gz |
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>
Diffstat (limited to 'git-rebase.sh')
-rwxr-xr-x | git-rebase.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-rebase.sh b/git-rebase.sh index a299bcc520..0f379ba2b5 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -477,7 +477,7 @@ then ;; esac upstream=$(peel_committish "${upstream_name}") || - die "$(eval_gettext "invalid upstream \$upstream_name")" + die "$(eval_gettext "invalid upstream '\$upstream_name'")" upstream_arg="$upstream_name" else if test -z "$onto" @@ -539,7 +539,7 @@ case "$#" in head_name="detached HEAD" else - die "$(eval_gettext "fatal: no such branch/commit: \$branch_name")" + die "$(eval_gettext "fatal: no such branch/commit '\$branch_name'")" fi ;; 0) |