summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-08-16 17:04:23 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-08-16 17:04:23 +0100
commit9676ce51fcf429640854561edaaee1ec202bd037 (patch)
treeb5ff91592aadaeb270fe77a9aef9f5f0c21c7397
parent10bc98809be06093879d87fda071d0e454084c9f (diff)
tidier debug local
-rwxr-xr-xdgit3
1 files changed, 1 insertions, 2 deletions
diff --git a/dgit b/dgit
index b693d53..9b1a9c7 100755
--- a/dgit
+++ b/dgit
@@ -146,8 +146,7 @@ sub cfg {
foreach my $c (@_) {
my $v;
{
- my $d2 = $debug-1;
- local ($debug) = $d2;
+ local ($debug) = $debug-1;
$v = cmdoutput_errok(@git, qw(config --), $c);
};
if ($?==0) {