* Bug: git-subtree: splitting subtree fails when subtree was added, removed and added again
@ 2024-02-11 20:16 tionis
0 siblings, 0 replies; only message in thread
From: tionis @ 2024-02-11 20:16 UTC (permalink / raw)
To: git
I discovered a problem in git-subtree that I could also reproduce in a
minimal proof of concept over at
https://github.com/tionis/git-subtree-bug-poc
The same bug was discussed some time ago on stackoverflow:
https://stackoverflow.com/questions/68761778/git-subtree-cache-exists
It seems to occur when a subtree was added, removed, alter added again
and then modified in some commit.
This leads to some error with the cache leading to an error message like
fatal: cache for $commit-hash-here already exists!
I'm unsure how to work around this other than modify the history or
creating a branch from before the first addition and fixing it there.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-11 20:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-11 20:16 Bug: git-subtree: splitting subtree fails when subtree was added, removed and added again tionis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).