lib/PublicInbox/Feed.pm | 2 +- lib/PublicInbox/V2Writable.pm | 4 ++-- diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index d7df07ee9c4577a1d15fe5410f68e6bdd68ee3e2..b373a1ebc83dd99b7467456ce28eba03fb47b26a 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -116,7 +116,7 @@ # leave us with filenames with spaces in them.. my $log = $ibx->git->popen(qw/log --no-notes --no-color --raw -r --no-abbrev --abbrev-commit/, - "--format=%h", $range); + "--format=%H", $range); my %deleted; # only an optimization at this point my $last; my $last_commit; diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm index 2cc87305668256709f773415f750e5f52653503c..1316d628491f576c0096b3be215826d94e03aae9 100644 --- a/lib/PublicInbox/V2Writable.pm +++ b/lib/PublicInbox/V2Writable.pm @@ -788,7 +788,7 @@ } $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 @@ my ($min, $max) = $mm_tmp->minmax; 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