chiark / gitweb /
Show git config queries only with debuglevel 3 (-DDD) and higher.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 4 May 2015 16:35:21 +0000 (17:35 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 31 May 2015 10:54:10 +0000 (11:54 +0100)
debian/changelog
dgit

index 6a8534b..b0587c6 100644 (file)
@@ -65,6 +65,8 @@ dgit (0.23~) unstable; urgency=low
 
   * Turn all perl warnings into errors using $SIG{__WARN__}.
 
+  * Show git config queries only with debuglevel 3 (-DDD) and higher.
+
  --
 
 dgit (0.22.1) unstable; urgency=high
diff --git a/dgit b/dgit
index 009319a..9a63e65 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -531,7 +531,7 @@ sub cfg {
        my @cmd = (@git, qw(config --), $c);
        my $v;
        {
-           local ($debuglevel) = $debuglevel-1;
+           local ($debuglevel) = $debuglevel-2;
            $v = cmdoutput_errok @cmd;
        };
        if ($?==0) {