Re: [PATCHv3 1/3] merge: Add '--continue' option as a synonym for 'git commit'
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 14, 2016, 17:01 UTC
- Message-ID
- <xmqq4m26zbph.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20161214152039.swtll7xrmcdwz7bc@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 7 quoted lines
> So not too bad (and you could probably refactor it to avoid some of the > duplication). Though it does get some obscure cases wrong, like: > > git merge --continue --verbose --quiet > > I dunno. Maybe I am leading you down a rabbit hole, and we should just > live with silently ignoring useless options.
I think you need to handle this in parse-options API if you really wanted to do this correctly.
<xmqq60mn671x.fsf@gitster.mtv.corp.google.com> may serve as a reasonable outline for building one.