Skip to content

Commit

Permalink
Mention that git-rm can be an appropriate resolution as well as git-add.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
dsymonds authored and gitster committed Nov 30, 2007
1 parent 804c717 commit 0d81358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-revert.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 0d81358

Please sign in to comment.