From: Eric Sunshine Date: Wed, 31 Jul 2013 17:12:56 GMT Subject: Re: [PATCHv2 6/9] hash-object: Replace stdin parsing OPT_BOOLEAN by OPT_COUNTUP Message-ID: In-Reply-To: <1375288117-1576-7-git-send-email-stefanbeller@googlemail.com> On Wed, Jul 31, 2013 at 12:28 PM, Stefan Beller wrote: > This task emerged from b04ba2bb (parse-options: deprecate OPT_BOOLEAN, > 2011-09-27). hash-object is a plumbing layer command, so better > not change the input/output behavior for now. > > Unfortunately we have these lines relying on the count up mechanism of > OPT_BOOLEAN: > > if (hashstdin > 1) > errstr = "Multiple --stdin arguments are not supported"; > > Maybe later, when the plumbing is refined (git 2.0?) we can drop that > errormessage and replace the OPT_COUNTUP by OPT_BOOL. s/errormessage/error message/ > Signed-off-by: Stefan Beller