From: Junio C Hamano Date: Tue, 12 Dec 2023 22:28:07 GMT Subject: Re: [PATCH v6] subtree: fix split processing with multiple subtrees present Message-ID: In-Reply-To: Christian Couder writes: >> > $ 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)?