chiark / gitweb /
git-debrebase: Set $debugcmd_when_debuglevel = 2
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 11 Aug 2018 09:58:16 +0000 (10:58 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 11 Aug 2018 10:38:39 +0000 (11:38 +0100)
This produces much better (less noisy) debug output.  git-debrebase
calls subcommands an awful lot and they are generally very
uninteresting.

If this now turns out to be insufficient, we will add additional calls
to printdebug.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
git-debrebase

index 63d6f207b8b215006bf44c75649b4faf5b48c8e0..325d37fcb7f1b8174f403e7d4f097ba3744e1810 100644 (file)
@@ -1,6 +1,7 @@
 dgit (6.7~) unstable; urgency=medium
 
   * git-debrebase: Improve ffq head recording message.
+  * git-debrebase: Better (less copious by default) debug output.
 
  --
 
index 5049ca6d5948d94837a28e3d5cdf12b6d445c721..429e17d345a24a9ca1d09bdd55ea5dc8dcc7b755 100755 (executable)
@@ -36,6 +36,8 @@ use Dpkg::Version;
 use File::FnMatch qw(:fnmatch);
 use File::Copy;
 
+$debugcmd_when_debuglevel = 2;
+
 our ($usage_message) = <<'END';
 usages:
   git-debrebase [<options>] [--|-i <git rebase options...>]