From: Taylor Blau Date: Wed, 06 May 2020 17:37:13 GMT Subject: Re: [RFC] subtree: use say and exit 0 rather than die in case of no new revision found scenario Message-ID: <20200506173713.GD6078@syl.local> In-Reply-To: Hi Claus, On Wed, May 06, 2020 at 03:11:49PM +0200, Claus Schneider wrote: > Hi.. > > Currently subtree dies if "No new revisions found" which is hard as it > is a non-operation. > > I suggest using the "say" command rather than "die". > > It will then become easier just to call "git subtree split" and you do > not need to handle this special case. > > Patches can be found here: > https://github.com/git/git/commit/fe435a1ba128698f6acb69ee1891c45be32610fa Thanks for your patch. The Git mailing list reviews patches over email, so please re-submit this (and the other two patches) you sent to the list here. Detailed guidelines on how to do that are here: https://github.com/git/git/blob/master/Documentation/SubmittingPatches and https://github.com/git/git/blob/master/Documentation/MyFirstContribution.txt Alternatively, you may use GitGitGadget, which makes it convenient to send patches to the mailing list from GitHub's UI. More information about that may be found here: https://gitgitgadget.github.io/. > Best regards > Claus Schneider Thanks, Taylor