From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Gerrit Pape <pape@smarden.org>
Cc: git@vger.kernel.org
Subject: Re: unexpected git-cherry-pick conflict
Date: Mon, 25 Jun 2007 08:55:21 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0706250854120.4059@racer.site> (raw)
In-Reply-To: <20070625071819.8091.qmail@5e4088a43a10fd.315fe32.mid.smarden.org>
Hi,
On Mon, 25 Jun 2007, Gerrit Pape wrote:
> On Wed, Jun 13, 2007 at 03:43:48PM +0100, Johannes Schindelin wrote:
> > On Wed, 13 Jun 2007, Gerrit Pape wrote:
> > > On Wed, Jun 13, 2007 at 01:58:51PM +0100, Johannes Schindelin wrote:
> > > > On Wed, 13 Jun 2007, Gerrit Pape wrote:
> > > > > $ git checkout master
> > > > > Switched to branch "master"
> > > > > $ git cherry-pick 8ddc4d5
> > > > > CONFLICT (file/directory): There is a directory with name link in
> > > > > 8ddc4d5... file. Added link as link~HEAD
> > > >
> > > > Here you _still_ have the file in master. So that conflict is really
> > > > expected, since a cherry-pick will only do a three-way merge.
> > >
> > > git-cherry-pick(1) states
> > > Given one existing commit, apply the change the patch introduces, and
> > > record a new commit that records it. This requires your working tree to
> > > be clean (no modifications from the HEAD commit).
> > >
> > > The patch introduced by the commit that's cherry-pick'ed has nothing to
> > > do with the link or new directory, it just changes 'file'
> > >
> > > $ git show 8ddc4d5
> > > commit 8ddc4d59444a362261e10a3b22324818f5dd2fa7
> > > Author: Gerrit Pape <pape@smarden.org>
> > > Date: Wed Jun 13 09:10:30 2007 +0000
> > >
> > > file
> > >
> > > diff --git a/file b/file
> > > index 257cc56..3bd1f0e 100644
> > > --- a/file
> > > +++ b/file
> > > @@ -1 +1,2 @@
> > > foo
> > > +bar
> > > $
> > >
> > > The patch applies to master just fine. Where's my thinking wrong?
> >
> > Hmm. Indeed. Thanks for clearing that up. Will work on it later.
>
> Hi, did you get to this yet?, not to stress you, just to make sure we
> don't forget about it.
I did not have time yet. Thanks for the reminder.
Just for the record, if you send a reply to my message to the list, but
without Cc: to me, I am very likely to miss it. Just by chance I did not,
this time.
Ciao,
Dscho
next prev parent reply other threads:[~2007-06-25 7:55 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070405071615.2915.6837.reportbug@acer>
[not found] ` <20070607074357.27760.qmail@69aef7b888effd.315fe32.mid.smarden.org>
[not found] ` <6b8a91420706070252y3fd581a3w427d91e5b982d29d@mail.gmail.com>
2007-06-13 9:16 ` unexpected git-cherry-pick conflict Gerrit Pape
2007-06-13 12:58 ` Johannes Schindelin
2007-06-13 13:43 ` Gerrit Pape
2007-06-13 14:43 ` Johannes Schindelin
2007-06-25 7:18 ` Gerrit Pape
2007-06-25 7:55 ` Johannes Schindelin [this message]
2007-07-07 20:58 ` Johannes Schindelin
2007-12-21 10:37 ` Gerrit Pape
2007-12-22 8:20 ` Junio C Hamano
2007-07-08 0:52 ` [PATCH] merge-tree: sometimes, d/f conflict is not an issue Johannes Schindelin
2007-07-08 1:31 ` Junio C Hamano
2007-07-08 2:00 ` Johannes Schindelin
2007-07-08 2:18 ` Johannes Schindelin
2007-07-08 4:35 ` Johannes Schindelin
2007-07-08 5:50 ` Junio C Hamano
2007-07-08 6:14 ` Junio C Hamano
2007-07-08 13:16 ` Johannes Schindelin
2007-07-08 20:02 ` Junio C Hamano
2007-07-09 15:06 ` merge-one-file, was " Johannes Schindelin
2007-07-17 17:13 ` [PATCH 1/2] merge-recursive: " Johannes Schindelin
2007-08-08 14:39 ` Gerrit Pape
2007-07-17 17:14 ` [PATCH 2/2] Add tests for cherry-pick d/f conflict which should be none Johannes Schindelin
2007-07-08 12:53 ` [PATCH] merge-tree: sometimes, d/f conflict is not an issue Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0706250854120.4059@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=pape@smarden.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).