Re: [PATCH v6] subtree: fix split processing with multiple subtrees present
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 12, 2023, 22:28 UTC
- Message-ID
- <xmqqzfyfoy2w.fsf@gitster.g>
- In-Reply-To
- <CAP8UFD19phFz54d8fDM=MBRMSD9Rz4R0_463KgptN8eeFs7MnQ@mail.gmail.com>
Christian Couder <christian.couder@gmail.com> writes:
Show 11 quoted lines
>> > $ git subtree split --prefix=apollo-ios-codegen --squash --rejoin >> > Merge made by the 'ort' strategy. >> > e274aed3ba6d0659fb4cc014587cf31c1e8df7f4 >> >> Looking into this some it looks like it could be a bash config >> difference? My machine always runs it all the way through vs >> failing for recursion depth. Although that would also be an issue >> which is solved by this fix. > > I use Ubuntu where /bin/sh is dash so my current guess is that dash > might have a smaller recursion limit than bash.
That sounds quite bad. Does it have to be recursive (iow, if we can rewrite the logic to be iterative instead, that would be a much better way to fix the issue)?