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

Fatal error in git subtree split

From
SPSergey Poznyak <sergeypoznyak@protonmail.com>
Date
Aug 9, 2025, 22:24 UTC
Message-ID
<filx6Yt3bQSp1GJwOQKS6cZwaPFfFn5TgcuH0fv1kS3Wgo0xSKxhXDYs6zUm8f_9tZCtF-scyAhFi7dTl3q44w5RkM99QH8gR8RJB5UA7m4=@protonmail.com>
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.

Message 1 of 1 in “Fatal error in git subtree split”
  1. Sergey PoznyakAug 9, 2025

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.