chiark / gitweb /
rename the dsc field
[dgit.git] / dgit
diff --git a/dgit b/dgit
index b693d5388e10dac3a2538e01a14ea0f050f03955..3bfdfc46b3c53f4e98ad77f7e9d4614ffab0720a 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -49,7 +49,7 @@ our %opts_opt_map = ('dget' => \@dget,
                     'debsign' => \@debsign);
 
 our $remotename = 'dgit';
-our $ourdscfield = 'Vcs-Git-Master';
+our $ourdscfield = 'Vcs-Dgit-Master';
 our $branchprefix = 'dgit';
 
 sub lbranch () { return "$branchprefix/$suite"; }
@@ -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) {