* [RFC] subtree: use say and exit 0 rather than die in case of no new revision found scenario [not found] ` <CA+GP4boXi4tW23Z6CDF2v_ch2_7_dqhB_POAhi1FfYrEBG4DWQ@mail.gmail.com> @ 2020-05-06 13:11 ` Claus Schneider 2020-05-06 17:37 ` Taylor Blau 0 siblings, 1 reply; 2+ messages in thread From: Claus Schneider @ 2020-05-06 13:11 UTC (permalink / raw) To: git 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 Best regards Claus Schneider ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC] subtree: use say and exit 0 rather than die in case of no new revision found scenario 2020-05-06 13:11 ` [RFC] subtree: use say and exit 0 rather than die in case of no new revision found scenario Claus Schneider @ 2020-05-06 17:37 ` Taylor Blau 0 siblings, 0 replies; 2+ messages in thread From: Taylor Blau @ 2020-05-06 17:37 UTC (permalink / raw) To: Claus Schneider; +Cc: git 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-06 17:37 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <CA+GP4boTMaShBbJUQUA0GThpXXPiCQHFGKFYUYLE3mbsjSdqTw@mail.gmail.com> [not found] ` <CA+GP4boXi4tW23Z6CDF2v_ch2_7_dqhB_POAhi1FfYrEBG4DWQ@mail.gmail.com> 2020-05-06 13:11 ` [RFC] subtree: use say and exit 0 rather than die in case of no new revision found scenario Claus Schneider 2020-05-06 17:37 ` Taylor Blau
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).