# [PATCH] Mention that git-rm can be an appropriate resolution as well as git-add.

2 messages from 2007-11-23 to 2007-12-01. Participants: David Symonds, Junio C Hamano.
Thread: https://gitlist.dev/t/10993

## David Symonds, 2007-11-23 13:38

Subject: [PATCH] Mention that git-rm can be an appropriate resolution as well as git-add.
Message-ID: <11958251302874-git-send-email-dsymonds@gmail.com>
URL: https://gitlist.dev/e/11958251302874-git-send-email-dsymonds%40gmail.com

```
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>
---
 builtin-revert.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/builtin-revert.c b/builtin-revert.c
index 365b330..d9ed40d 100644
--- a/builtin-revert.c
+++ b/builtin-revert.c
@@ -366,7 +366,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>' "
+			"mark the corrected paths with 'git add <paths>' or 'git rm <paths>' "
 			"and commit the result.\n", me);
 		if (action == CHERRY_PICK) {
 			fprintf(stderr, "When commiting, use the option "
-- 
1.5.3.1

```

## Junio C Hamano, 2007-12-01 02:36

Subject: Re: [PATCH] Mention that git-rm can be an appropriate resolution as well as git-add.
Message-ID: <7vr6i79m59.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vr6i79m59.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <11958251302874-git-send-email-dsymonds@gmail.com>

```
David Symonds <dsymonds@gmail.com> writes:

> 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>

This would be a good wording change; I'll munge this for 'next'.

Thanks.

```
