Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
cherry-pick/revert: more compact user direction message
author
Nicolas Pitre
<nico@cam.org>
Tue, 30 Oct 2007 19:59:24 +0000
(15:59 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 30 Oct 2007 23:49:27 +0000
(16:49 -0700)
A failed cherry-pick (and friend) currently says:
|Automatic cherry-pick failed. After resolving the conflicts,
|mark the corrected paths with 'git-add <paths>'
|and commit the result.
This can obviously be displayed on two lines only.
While at it, change "git-add" to "git add".
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-revert.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
ba17892
)
diff --git
a/builtin-revert.c
b/builtin-revert.c
index 499bbe7343a635f1c7fc024ed6a1436042dcb8ac..eafafbc333e784aa2c49ee9d360077cb212797c6 100644
(file)
--- a/
builtin-revert.c
+++ b/
builtin-revert.c
@@
-351,7
+351,7
@@
static int revert_or_cherry_pick(int argc, const char **argv)
die ("Error wrapping up %s", defmsg);
fprintf(stderr, "Automatic %s failed. "
"After resolving the conflicts,\n"
- "mark the corrected paths with 'git
-add <paths>'\n
"
+ "mark the corrected paths with 'git
add <paths>'
"
"and commit the result.\n", me);
if (action == CHERRY_PICK) {
fprintf(stderr, "When commiting, use the option "