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 bf459a99d91be09dc3dea3eb4121375556fd6043..482011040a9ff0a0e0ff7f7e95536dcfbba4f882 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 357ccc3ac96e0faaa1be3502f364cf03b7d81bd5..bee98b9231d60c93ead3e6b8e4b2d12a2f06c2ca 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -204,7 +204,7 @@ sub cmdoutput {
 }
 
 sub dryrun_report {
-    printcmd(\*STDOUT,"#",@_);
+    printcmd(\*STDERR,"#",@_);
 }
 
 sub runcmd_ordryrun {