Skip to content

bugfix git subtree split

Roland Conybeare git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1subtree: fix cache_set failure on commit reachable by multiple pathscontrib/subtree/git-subtree.sh+7 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] bugfix git subtree split

I have a project that combines multiple independent repos into an unmbrella repo, relying on git subtree. Encountered a unrecoverable fatal error
from 'git subtree split' with error

fatal: cache for <hash> already exists!

Problem arises because history to be split contains merge commits that cause DAG traversal to consider the same umbrella commit on multiple paths. The fatal triggers when 'git subtree split' tries to cache the same commit twice; enclosed patch prunes these duplicate paths.

Roland Conybeare (1):
subtree: fix cache_set failure on commit reachable by multiple paths

 contrib/subtree/git-subtree.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

base-commit: 6a4418c36d6bad69a599044b3cf49dcbd049cb45 --
2.50.1