This ensures that the number of added files remains the same and thus
the article numbers derived from a repository will remain the same.
I think this is the last place in public-inbox that has to be tweaked to
guarantee the generated article number will remain the same in an public
inbox archive.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
push @buf, $buf;
} elsif (/^M 100644 ([a-f0-9]+) (\w+)/) {
my ($oid, $path) = ($1, $2);
push @buf, $buf;
} elsif (/^M 100644 ([a-f0-9]+) (\w+)/) {
my ($oid, $path) = ($1, $2);
if ($purge->{$oid}) {
push @oids, $oid;
if ($purge->{$oid}) {
push @oids, $oid;
+ my $cmd = "M 100644 inline $path\ndata 0\n\n";
+ push @buf, $cmd;
push @buf, $_;
}
} elsif (/^D (\w+)/) {
push @buf, $_;
}
} elsif (/^D (\w+)/) {