chiark / gitweb /
split brain cache: Use git log -g
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 20 Oct 2016 14:55:05 +0000 (15:55 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 20 Oct 2016 14:55:05 +0000 (15:55 +0100)
git-reflog is

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit

diff --git a/dgit b/dgit
index d51220b02ecef3e8748e6e366bcbee70a8015afd..9fcd1fcc40508cc34a5c51956e69ec5b44312cdb 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -4371,7 +4371,7 @@ sub quilt_check_splitbrain_cache ($$) {
     push @cachekey, $srcshash->hexdigest();
     $splitbrain_cachekey = "@cachekey";
 
-    my @cmd = (@git, qw(reflog), '--pretty=format:%H %gs',
+    my @cmd = (@git, qw(log -g), '--pretty=format:%H %gs',
               $splitbraincache);
     printdebug "splitbrain cachekey $splitbrain_cachekey\n";
     debugcmd "|(probably)",@cmd;