git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-cherry-pick -x works with conflicting commits
@ 2008-03-24 10:41 Rafael Garcia-Suarez
  2008-03-24 13:55 ` Jean-Baptiste Quenot
  0 siblings, 1 reply; 4+ messages in thread
From: Rafael Garcia-Suarez @ 2008-03-24 10:41 UTC (permalink / raw)
  To: git; +Cc: Rafael Garcia-Suarez

So this patch fixes the docs to reflect that.

Signed-off-by: Rafael Garcia-Suarez <rgarciasuarez@gmail.com>
---
 Documentation/git-cherry-pick.txt |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-cherry-pick.txt b/Documentation/git-cherry-pick.txt
index f0beb41..475e168 100644
--- a/Documentation/git-cherry-pick.txt
+++ b/Documentation/git-cherry-pick.txt
@@ -29,8 +29,7 @@ OPTIONS
 -x::
 	When recording the commit, append to the original commit
 	message a note that indicates which commit this change
-	was cherry-picked from.  Append the note only for cherry
-	picks without conflicts.  Do not use this option if
+	was cherry-picked from.  Do not use this option if
 	you are cherry-picking from your private branch because
 	the information is useless to the recipient.  If on the
 	other hand you are cherry-picking between two publicly
-- 
1.5.5.rc1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] git-cherry-pick -x works with conflicting commits
  2008-03-24 10:41 [PATCH] git-cherry-pick -x works with conflicting commits Rafael Garcia-Suarez
@ 2008-03-24 13:55 ` Jean-Baptiste Quenot
  2008-03-24 14:52   ` Rafael Garcia-Suarez
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Baptiste Quenot @ 2008-03-24 13:55 UTC (permalink / raw)
  To: Rafael Garcia-Suarez; +Cc: git

When I'm using "git commit -c <id>" as suggested by git-cherry-pick
upon conflict, I do not get the mention "(cherry picked from commit
<id>)", at least with version 1.5.4.1.  How did you get it?

Cheers,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/blog/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] git-cherry-pick -x works with conflicting commits
  2008-03-24 13:55 ` Jean-Baptiste Quenot
@ 2008-03-24 14:52   ` Rafael Garcia-Suarez
  2008-03-24 18:32     ` Jean-Baptiste Quenot
  0 siblings, 1 reply; 4+ messages in thread
From: Rafael Garcia-Suarez @ 2008-03-24 14:52 UTC (permalink / raw)
  To: Jean-Baptiste Quenot; +Cc: git

On 24/03/2008, Jean-Baptiste Quenot <jbq@caraldi.com> wrote:
> When I'm using "git commit -c <id>" as suggested by git-cherry-pick
>  upon conflict, I do not get the mention "(cherry picked from commit
>  <id>)", at least with version 1.5.4.1.  How did you get it?

I use the most recent git from master, and simply do git-add and
git-commit without arguments after having resolving the conflict. The
commit message in MERGE_MSG, that I checked, does have the "cherry
picked from commit <id>" mention (before the conflict list).

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] git-cherry-pick -x works with conflicting commits
  2008-03-24 14:52   ` Rafael Garcia-Suarez
@ 2008-03-24 18:32     ` Jean-Baptiste Quenot
  0 siblings, 0 replies; 4+ messages in thread
From: Jean-Baptiste Quenot @ 2008-03-24 18:32 UTC (permalink / raw)
  To: Rafael Garcia-Suarez; +Cc: git

All right, I see.  The conflict error message was confusing me:

------------------------------------------------------------------------
fatal: Entry 'azerty' would be overwritten by merge. Cannot merge.
Automatic cherry-pick failed.  After resolving the conflicts,
mark the corrected paths with 'git add <paths>' or 'git rm <paths>'
and commit the result.
When commiting, use the option '-c c17532f' to retain authorship and message.
------------------------------------------------------------------------

The last sentence does not make much sense when -x is specified.

Cheers,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/blog/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-24 18:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-24 10:41 [PATCH] git-cherry-pick -x works with conflicting commits Rafael Garcia-Suarez
2008-03-24 13:55 ` Jean-Baptiste Quenot
2008-03-24 14:52   ` Rafael Garcia-Suarez
2008-03-24 18:32     ` Jean-Baptiste Quenot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).