git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: cherry-pick fail when a symbolic link has been changed into a file or directory

From
Christian Couder <christian.couder@gmail.com>
Date
Nov 4, 2010, 17:03 UTC
Message-ID
<AANLkTi=cydcB2yRpWbSH7qZGHdjXEPjNvfBCJny7JcwJ@mail.gmail.com>
In-Reply-To
<20101104151637.076ac021@cortex>
On Thu, Nov 4, 2010 at 3:16 PM, Camille Moncelier <moncelier@devlife.org> wrote:
Show 26 quoted lines
> 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.

Please reply not only to me but also to the list and add relevant people in Cc: like I did.

Elijah Newren sent a patch series around September the 20th but I did not check to see if this series was merged into pu, next or master. And I don't know if it fixes your problem. Could you have a look?

Thanks, Christian.

Previous: Camille MoncelierNext: Camille Moncelier
Message 5 of 10 in “cherry-pick fail when a symbolic link has been changed into a file or directory”
  1. Camille MoncelierNov 4, 2010
  2. Christian CouderNov 4, 2010
  3. Christian CouderNov 4, 2010
  4. Camille MoncelierNov 4, 2010
  5. Christian CouderNov 4, 2010
  6. Camille MoncelierNov 4, 2010
  7. Christian CouderNov 5, 2010
  8. Christian CouderNov 5, 2010
  9. Camille MoncelierNov 7, 2010
  10. Andreas SchwabNov 7, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.