Code

Mention that git-rm can be an appropriate resolution as well as git-add.
authorDavid Symonds <dsymonds@gmail.com>
Fri, 23 Nov 2007 13:38:50 +0000 (00:38 +1100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Nov 2007 22:15:08 +0000 (14:15 -0800)
Especially when using git-cherry-pick, removing files that are unmerged can be
a logical action. This patch merely changes the informative text to be less
confusing.

Signed-off-by: David Symonds <dsymonds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-revert.c

index 4f86178bbd4917c6b36eb9c80aeee5bd588edbc0..4bf8eb2f58ac5a81a9d6538e31f2da661db4c3e9 100644 (file)
@@ -234,7 +234,7 @@ static char *help_msg(const unsigned char *sha1)
 
        strcpy(helpbuf, "  After resolving the conflicts,\n"
               "mark the corrected paths with 'git add <paths>' "
-              "and commit the result.");
+              "or 'git rm <paths>' and commit the result.");
 
        if (action == CHERRY_PICK) {
                sprintf(helpbuf + strlen(helpbuf),