chiark / gitweb /
In --dry-run mode, _do_ actually run dpkg-source --commit so that we actually do...
[dgit.git] / dgit
diff --git a/dgit b/dgit
index d6f37ffd3116122222dfee1d61cc7272fd936747..ce858ab98057bd770095ecf2b16b8e322e126922 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -2493,7 +2493,7 @@ END
        local $ENV{'EDITOR'} = cmdoutput qw(realpath --), $0;
        local $ENV{'VISUAL'} = $ENV{'EDITOR'};
        local $ENV{$fakeeditorenv} = cmdoutput qw(realpath --), $descfn;
-       runcmd_ordryrun_local @dpkgsource, qw(--commit .), $patchname;
+       runcmd @dpkgsource, qw(--commit .), $patchname;
     }
 }
 
@@ -2874,7 +2874,8 @@ END
     }
 
     changedir '../../../..';
-    runcmd @git, qw(pull --ff-only -q .git/dgit/unpack/work master);
+    runcmd_ordryrun_local
+        @git, qw(pull --ff-only -q .git/dgit/unpack/work master);
 }
 
 sub quilt_fixup_editor () {