chiark / gitweb /
dgit-cache reflog: Make note in comment about --create-reflog
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 20 Oct 2016 14:04:28 +0000 (15:04 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 20 Oct 2016 14:04:28 +0000 (15:04 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit

diff --git a/dgit b/dgit
index c03c0316fa0b6cfef75ab41541d466c237ffcc87..08afd13deb9752690c99e7404ac9b1b87e2590dc 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -3912,6 +3912,8 @@ END
     my $dgitview = git_rev_parse 'refs/heads/dgit-view';
 
     changedir '../../../..';
     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 $!;
     ensuredir ".git/logs/refs/dgit-intern";
     my $makelogfh = new IO::File ".git/logs/refs/$splitbraincache", '>>'
       or die $!;