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

Re: Git subtree stumbles over annotated tags

From
GJGregor Jasny <gjasny@googlemail.com>
Date
Mar 17, 2016, 12:41 UTC
Message-ID
<56EAA5DC.1040801@googlemail.com>
In-Reply-To
<56E19809.5040305@googlemail.com>
Hello,
On 10/03/16 16:51, Gregor Jasny wrote:
Show 9 quoted lines
> today I discovered that it's a bad idea to "git subtree pull" from an
> annotated tag. This issue got discussed in those two threads:
>
> http://comments.gmane.org/gmane.comp.version-control.git/247503
> http://comments.gmane.org/gmane.comp.version-control.git/248395
>
> I was under the impression that it is fixed in recent versions of git
> but my homebrew 2.7.0 still behaves badly. If I run the attached script
> to reproduce the issue I get the following error message:

For the record: this bug was already fixed in November: https://github.com/git/git/commit/5d65fe312e22594b7fec7349945fb0072987716b#diff-59f70cbe935ec223e3df413b94cab740

Would it make sense to cherry-pick it into 2.7.x?

Thanks, Gregor

Previous: Gregor JasnyNext: David A. Greene
Message 2 of 3 in “Git subtree stumbles over annotated tags”
  1. Gregor JasnyMar 10, 2016
  2. Gregor JasnyMar 17, 2016
  3. David A. GreeneMay 21, 2016

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.