chiark / gitweb /
dgit-cache reflog: Make note in comment about --create-reflog
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 2cbb2fdf36dc825559a6eac2b049eb360d78d693..08afd13deb9752690c99e7404ac9b1b87e2590dc 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -3912,6 +3912,8 @@ END
     my $dgitview = git_rev_parse 'refs/heads/dgit-view';
 
     changedir '../../../..';
+    # When we no longer need to support squeeze, use --create-reflog
+    # instead of this:
     ensuredir ".git/logs/refs/dgit-intern";
     my $makelogfh = new IO::File ".git/logs/refs/$splitbraincache", '>>'
       or die $!;
@@ -4853,10 +4855,6 @@ sub cmd_gbp_build {
     }
     maybe_unapply_patches_again();
     if ($wantsrc < 2) {
-       unless (grep { m/^--git-debian-branch|^--git-ignore-branch/ } @ARGV) {
-           canonicalise_suite();
-           push @cmd, "--git-debian-branch=".lbranch();
-       }
        push @cmd, changesopts();
        runcmd_ordryrun_local @cmd, @ARGV;
     }