threads / discuss / 63937

Fatal error in git subtree split

Subject: Fatal error in git subtree split

## tl;dr

One message between Aug 9, 2025 and Aug 9, 2025.

replies: 0people: 1as markdown or json

Sergey Poznyak· Aug 9, 2025, 22:24 UTC · lore
Hello,
I'm trying to split a part of my repo into a separate tree using this command:
=====
$ git subtree split --debug --prefix=common/container/xarr -b xarr
---
truncated output
---
progress: 16/161 (15) [0]
Processing commit: e618ad95203d72380cd38124b446dfd71a663e86
  parents: e22e667e27a77d22f9b2091df7e7f16e47808a9a 
  newparents: 
  tree is: 
fatal: no new revisions were found
=====

It always stops at this commit. I think the problem is in the next commit though, which is a merge created by git subtree add (without squash) a long time ago that I did vendor in an external library. The merge commit looks like this:

===== $ git show 32d21757c1e4446cc87ddb2e93c4d49c0d205eb3

commit 32d21757c1e4446cc87ddb2e93c4d49c0d205eb3
Merge: e618ad9 e60e9b9
Author: sergeypdev <sergeypoznyak@protonmail.com>
Date:   Fri Jan 10 01:29:33 2025 +0400
    Merge commit 'e60e9b99af9e2738378444265819df71c8bba134' as 'libs/tracy'
=====
I tried doing a fresh clone of the repo, but the exact same issue persists. You can reproduce yourself if you want, the repo is public: https://git.sergeyp.dev/sergeypdev/gutter_runner
I'm using
Git Version: 2.50.1
OS: Fedora Workstation 41

Thank you, Sergei.

← back to recent threads