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

git-subtree pull issue

From
AIAlexander Inyukhin <shurick@sectorb.msk.ru>
Date
Sep 16, 2016, 22:39 UTC
Message-ID
<20160916223926.irf7q4ugjnwwmado@shurick.grid.su>

When git-subtree is pulling data using the tag reference, it writes the tag's sha1 into a metadata. It could be a problem next time, since this commit object is not a part of main tree, and could be lost.

Steps to reproduce:

# add some stuff to a existing tree # history will refer to v0.1 tag object instead of v0.1^{commit} git subtree add --squash -P dir/ repo v0.1 # prune all dangling objects including external v0.1 tag git gc --aggressive --prune=all # this will fail git subtree pull --squash -P dir/ repo v0.2

Message 1 of 1 in “git-subtree pull issue”
  1. Alexander InyukhinSep 16, 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.