Skip to contentSkip to conversation

remote-helpers: The lost verbosity level

DISCUSSION Artur Skawina 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Heya,

Quoted 4 lines · Artur Skawina

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?

Signature · 3 lines
Cheers,

Sverre Rabbelier