about summary refs log tree commit homepage
path: root/lib/PublicInbox/V2Writable.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/V2Writable.pm')
-rw-r--r--lib/PublicInbox/V2Writable.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm
index 2cc87305..1316d628 100644
--- a/lib/PublicInbox/V2Writable.pm
+++ b/lib/PublicInbox/V2Writable.pm
@@ -788,7 +788,7 @@ $range
                 $ranges->[$i] = $range;
 
                 # can't use 'rev-list --count' if we use --diff-filter
-                my $fh = $git->popen(qw(log --pretty=tformat:%h
+                my $fh = $git->popen(qw(log --pretty=tformat:%H
                                 --no-notes --no-color --no-renames
                                 --diff-filter=AM), $range, '--', 'm');
                 ++$regen_max while <$fh>;
@@ -865,7 +865,7 @@ sub index_sync {
         my $regen = $self->index_prepare($opts, $epoch_max, $ranges);
         $$regen += $max if $max;
         my $D = {};
-        my @cmd = qw(log --raw -r --pretty=tformat:%h
+        my @cmd = qw(log --raw -r --pretty=tformat:%H
                         --no-notes --no-color --no-abbrev --no-renames);
 
         # work backwards through history