chiark / gitweb /
Command execution reports from --dry-run go to stderr.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 26 Sep 2013 00:47:47 +0000 (01:47 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 26 Sep 2013 00:47:47 +0000 (01:47 +0100)
debian/changelog
dgit

index bf459a9..4820110 100644 (file)
@@ -2,6 +2,7 @@ dgit (0.16~experimental2) experimental; urgency=low
 
   * WIP remote functionality.  Untested, do not use.
   * push actually takes an optional suite, like it says in the synopsis.
+  * Command execution reports from --dry-run go to stderr.
 
  --
 
diff --git a/dgit b/dgit
index 357ccc3..bee98b9 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -204,7 +204,7 @@ sub cmdoutput {
 }
 
 sub dryrun_report {
-    printcmd(\*STDOUT,"#",@_);
+    printcmd(\*STDERR,"#",@_);
 }
 
 sub runcmd_ordryrun {