Thread (9 messages) 9 messages, 2 authors, 2017-12-16
STALE3208d

[PATCH v2 2/3] rebase: distinguish user input by quoting it

From: Kaartic Sivaraam <hidden>
Date: 2017-11-27 17:21:48
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Kaartic Sivaraam <redacted>
---
 git-rebase.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/git-rebase.sh b/git-rebase.sh
index a675cf691..3f8d99e99 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"
@@ -540,7 +540,7 @@ case "$#" in
 		head_name="detached HEAD"
 
 	else
-		die "$(eval_gettext "fatal: no such branch/commit: \$branch_or_commit")"
+		die "$(eval_gettext "fatal: no such branch/commit '\$branch_or_commit'")"
 	fi
 	;;
 0)
-- 
2.15.0.345.gf926f18f3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help