Thread (14 messages) flat view 14 messages, 2 authors, 2016-06-15

Re: [PATCHv2 6/9] hash-object: Replace stdin parsing OPT_BOOLEAN by OPT_COUNTUP

From: Eric Sunshine <hidden>
Date: 2016-06-15 22:58:17

On Wed, Jul 31, 2013 at 12:28 PM, Stefan Beller
[off-list ref] 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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help