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

Re: [Bug] Git subtree regression

From
CSColin Stagner <ask+git@howdoi.land>
Date
Feb 15, 2026, 20:36 UTC
Message-ID
<8d5212b5-3088-4b73-a849-f1c297e06157@howdoi.land>
In-Reply-To
<20260110172219.125762-1-george@mail.dietrich.pub>
George,

My original patch for this issue introduced other regressions and needed to be reverted. I don't recommend using it.

Instead, can you take a look at:
  
https://lore.kernel.org/git/20260215201748.889866-1-ask+git@howdoi.land/

which removes the "ignore other splits" optimization altogether. After some research, I suspect that this optimization may not have enough information to work correctly and preserve history in all cases.

I'd also appreciate testing of
  
https://lore.kernel.org/git/20260215201748.889866-1-ask+git@howdoi.land/
which fixes a "recursion depth exceeded" bug on Debian/Ubuntu.
I've CC'd you on both of these patch series.

I have tested both of these on selected subdirectories of your athena repository. They seem to work. But I'd appreciate it if you could look at all the splits you normally do and see if the patches correctly preserve history for you.

Thanks,
Colin
Previous: george@mail.dietrich.pubNext: D. Ben Knoble
Message 9 of 11 in “[Bug] Git subtree regression”
  1. dev@dietrich.pubDec 26, 2025
  2. george@mail.dietrich.pubDec 30, 2025
  3. Colin StagnerJan 4, 2026
  4. george@mail.dietrich.pubJan 4, 2026
  5. Colin StagnerJan 5, 2026
  6. george@mail.dietrich.pubJan 6, 2026
  7. Colin StagnerJan 10, 2026
  8. george@mail.dietrich.pubJan 10, 2026
  9. Colin StagnerFeb 15, 2026
  10. D. Ben KnobleFeb 16, 2026
  11. george@mail.dietrich.pubFeb 18, 2026

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.