From: Camille Moncelier <moncelier@devlife.org>
To: git@vger.kernel.org
Cc: Christian Couder <christian.couder@gmail.com>
Subject: Re: cherry-pick fail when a symbolic link has been changed into a file or directory
Date: Thu, 4 Nov 2010 15:16:37 +0100 [thread overview]
Message-ID: <20101104151637.076ac021@cortex> (raw)
In-Reply-To: <AANLkTimq8SP-gxZQiXW3Pxg3-1Z98zyPAoNA8JDn0=6A@mail.gmail.com>
On Thu, 4 Nov 2010 14:55:12 +0100
Christian Couder <christian.couder@gmail.com> wrote:
> Could you try to cherry-pick with other strategies?
> For example with:
>
> git cherry-pick --strategy resolve test1
~/repo1$ git --version
git version 1.7.3.1
~/repo1$ git cherry-pick --strategy resolve test1
Trying simple merge.
Simple merge failed, trying Automatic merge.
[master da2d5bf] New file in test1
1 files changed, 1 insertions(+),
create mode 100644 new_file_test1
Seems it is working using the resolve strategy. I may have found a
message on this list posted a while ago:
"cherry-picking a commit clobbers a file which is a directory in the
target commit"
Which seems to deal with the same kind of problems maybe something is
missing in the patch in order to handle this particular case.
> I remember there were some problems with the default "recursive"
> strategy and I am not sure they were fixed.
> By the way could you tell which version of git you are using?
I'm using ubuntu's 1.7.1 version on my laptop which doesn't support
--strategy and a v1.7.3.1 on another computer, both expose the same
problem.
>
> Thanks,
> Christian.
--
Camille Moncelier
http://devlife.org
next prev parent reply other threads:[~2010-11-04 14:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-04 11:56 cherry-pick fail when a symbolic link has been changed into a file or directory Camille Moncelier
2010-11-04 13:55 ` Christian Couder
2010-11-04 13:58 ` Christian Couder
2010-11-04 14:16 ` Camille Moncelier [this message]
2010-11-04 17:03 ` Christian Couder
2010-11-04 17:15 ` Camille Moncelier
2010-11-05 8:33 ` Christian Couder
[not found] ` <AANLkTimDWM69qvY5wdyzFu=g6htg12-K542PRR4bdDYq@mail.gmail.com>
2010-11-05 8:34 ` Christian Couder
2010-11-07 9:42 ` Camille Moncelier
2010-11-07 10:19 ` Andreas Schwab
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=20101104151637.076ac021@cortex \
--to=moncelier@devlife.org \
--cc=christian.couder@gmail.com \
--cc=git@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.