summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a8ccc20)
raw | patch | inline | side by side (parent: a8ccc20)
author | Stephan Beyer <s-beyer@gmx.net> | |
Wed, 23 Jul 2008 16:46:36 +0000 (18:46 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 23 Jul 2008 19:31:37 +0000 (12:31 -0700) |
git-am output can be confusing, because the subject of the applied
patch can look like the rest of a sentence starting with "Applying".
The added colon should make this clearer.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
patch can look like the rest of a sentence starting with "Applying".
The added colon should make this clearer.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh | patch | blob | history | |
t/t4151-am-abort.sh | patch | blob | history |
diff --git a/git-am.sh b/git-am.sh
index 7864b5f58826a6964f85feae5d8ab90cfcfe59af..f4abd9db15d7e7213e0d94a6c36e5205b7c5e0ce 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
stop_here $this
fi
- printf 'Applying %s\n' "$FIRSTLINE"
+ printf 'Applying: %s\n' "$FIRSTLINE"
case "$resolved" in
'')
diff --git a/t/t4151-am-abort.sh b/t/t4151-am-abort.sh
index 249093b6d0b613dcf88bed72f4781c7316fddc3d..f45ab0a2e8ad4b02cd0bdd9a2cb57d74d86382f1 100755 (executable)
--- a/t/t4151-am-abort.sh
+++ b/t/t4151-am-abort.sh
test_expect_success "am$with3 --skip continue after failed am$with3" '
test_must_fail git-am$with3 --skip >output &&
- test "$(grep "^Applying" output)" = "Applying 6" &&
+ test "$(grep "^Applying" output)" = "Applying: 6" &&
test_cmp file-2-expect file-2 &&
test ! -f .git/rr-cache/MERGE_RR
'