remote-helpers: The lost verbosity level

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

remote-helpers: The lost verbosity level

From: Artur Skawina <hidden>
Date: 2016-06-15 22:49:30

Tried turning on more debugging in my new remote-helper and was surprised by this:

$ git fetch -q swarm://address blah
I= "option verbosity 0"
$ git fetch swarm://address blah
I= "option verbosity 1"
$ git fetch -v swarm://address blah
I= "option verbosity 1"
$ git fetch -vv swarm://address blah
I= "option verbosity 3"
$ git fetch -vvv swarm://address blah
I= "option verbosity 4"
# etc 

$ git --version
git version 1.7.2.1

IOW the '-v' case is undetectable. Presumably an off-by-one check somewhere,
and not part of ABI cause some existing helper depends on this behavior? ;)

artur

Re: remote-helpers: The lost verbosity level

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:49:30

Heya,

On Mon, Sep 6, 2010 at 10:24, Artur Skawina [off-list ref] wrote:
Tried turning on more debugging in my new remote-helper and was surprised by this:
IOW the '-v' case is undetectable. Presumably an off-by-one check somewhere,
and not part of ABI cause some existing helper depends on this behavior? ;)
Curious. That does not seem like correct behavior, no. Can you
investigate where this goes wrong?

-- 
Cheers,

Sverre Rabbelier
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help