# [PATCH] more compact user direction message

1 messages from 2007-10-30 to 2007-10-30. Participants: Nicolas Pitre.
Thread: https://gitlist.dev/t/10533

## Nicolas Pitre, 2007-10-30 19:59

Subject: [PATCH] more compact user direction message
Message-ID: <alpine.LFD.0.9999.0710301548370.21255@xanadu.home>
URL: https://gitlist.dev/e/alpine.LFD.0.9999.0710301548370.21255%40xanadu.home

```
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>
---
diff --git a/builtin-revert.c b/builtin-revert.c
index 2cd9ca5..50c2e18 100644
--- a/builtin-revert.c
+++ b/builtin-revert.c
@@ -364,7 +364,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 "

```
