threads / discuss / 25003

remote-helpers: The lost verbosity level

Subject: remote-helpers: The lost verbosity level

## tl;dr

2 messages between Sep 6, 2010 and Sep 6, 2010.

replies: 1people: 2as markdown or json

Artur Skawina· Sep 6, 2010, 15:24 UTC · lore
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
Sverre Rabbelier· Sep 6, 2010, 20:52 UTC · re: Artur Skawina · lore

Re: remote-helpers: The lost verbosity level

Heya,
On Mon, Sep 6, 2010 at 10:24, Artur Skawina <art.08.09@gmail.com> 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

← back to recent threads