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

Re: git-cherry-pick and author field in version 1.7.6.4

From
Jeff King <peff@peff.net>
Date
Oct 6, 2011, 13:26 UTC
Message-ID
<20111006132646.GB1792@sigill.intra.peff.net>
In-Reply-To
<4E8DA0EE.50208@6wind.com>
On Thu, Oct 06, 2011 at 02:37:02PM +0200, Nicolas Dichtel wrote:
Show 14 quoted lines
> >>Maybe it is related to the problem I've reported in another thread:
> >>http://comments.gmane.org/gmane.comp.version-control.git/182853
> >
> >Possibly. That issue is about the commit that comes _after_ the
> >cherry-pick, and in this instance, things are already wrong for you by
> >the time the cherry-pick has completed.
> >
> >However, the problem has to do with leaving a stale state file in .git,
> >so perhaps a previous partially-completed cherry-pick has left cruft in
> >.git that is confusing this cherry-pick (i.e., I can't reproduce because
> >it is being affected by something that happened before the commands
> >above). So let's see what Jay comes up with for solving the other
> >problem, and I suspect it may just fix this issue, too.
> I think so too. Will wait.

Since you can reproduce this so readily, and since you said it seems to work with older versions of git, you might try bisecting. There's a reasonable chance it will just end up at Jay's CHERRY_PICK_HEAD commit, but it might be worth doing.

-Peff
Previous: Nicolas DichtelNext: Nicolas Dichtel
Message 6 of 7 in “git-cherry-pick and author field in version 1.7.6.4”
  1. Nicolas DichtelOct 5, 2011
  2. Jeff KingOct 5, 2011
  3. Nicolas DichtelOct 6, 2011
  4. Jeff KingOct 6, 2011
  5. Nicolas DichtelOct 6, 2011
  6. Jeff KingOct 6, 2011
  7. Nicolas DichtelOct 6, 2011

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.