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

Re: Git push subtree fail unknown revision or path possibly due to missing git-subtree-split commit

From
Philippe Blain <levraiphilippeblain@gmail.com>
Date
Oct 8, 2021, 01:14 UTC
Message-ID
<efdf8b7e-b568-cb13-eb07-346dc9ca4f49@gmail.com>
In-Reply-To
<CANcBuaZmRj3tZqprNwjJatJ87F0vUVDKDRm5+OnOk_z3wqvJYg@mail.gmail.com>
Hi Eddie
[we reply inline on this mailing list, see below :)]
Le 2021-10-07 à 02:00, Eddie Ridwan a écrit :
Show 6 quoted lines
> Hi Philippe
> 
> Using the debug option (see attached file), I see that the git push
> subtree command is complaining that many commits are in the wrong
> order.
> 
Indeed, the attachment shows many messages like:
progress: 1/     131 (0) [0]
Processing commit: 1fbbdda4f0ef15794eeb4a343d3fb1bf17fbb853
   parents: c75f7cab156c91a1bf3b36658e1ac94dd1905bba
     incorrect order: c75f7cab156c91a1bf3b36658e1ac94dd1905bba
> Any idea how this could happen? And is there any way to recover from this?
I'm not a 'git subtree' user myself, so really don't know unfortunately.
> 
> Would it be best to just delete the subtree and start again?

You could do that. If you do want to debug further, I would suggest searching the mailing list (see https://lore.kernel.org/git/_/text/help/) for recent contributors to 'contrib/subtree' and CC-ing them. Maybe they will be able to provide more insight here.

You also asked on Stack Overflow if you should try to delete the subtree cache. I think this could be something to try (I would guess if it's called a cache, it should be recreated). But again I'm not a 'git subtree' user.

> 
> Many thanks
> 
> Eddie Ridwan
Cheers,
Philippe.
Previous: Eddie Ridwan
Message 4 of 4 in “Git push subtree fail unknown revision or path possibly due to missing git-subtree-split commit”
  1. Eddie RidwanOct 5, 2021
  2. Philippe BlainOct 7, 2021
  3. Eddie RidwanOct 7, 2021
  4. Philippe BlainOct 8, 2021

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.