On Wed, Jun 26, 2013 at 1:00 AM, Junio C Hamano wrote:
>> @@ -156,6 +156,11 @@ do
>> fullbases="$fullbases pack-$name"
>> chmod a-w "$PACKTMP-$name.pack"
>> chmod a-w "$PACKTMP-$name.idx"
>> +
>> + test -f "$PACKTMP-$name.bitmap" &&
>> + chmod a-w "$PACKTMP-$name.bitmap"
Vicent Marti writes:
> @@ -156,6 +156,11 @@ do
> fullbases="$fullbases pack-$name"
> chmod a-w "$PACKTMP-$name.pack"
> chmod a-w "$PACKTMP-$name.idx"
> +
> + test -f "$PACKTMP-$name.bitmap" &&
> + chmod a-w "$PACKTMP-$name.bitmap" &&
> + mv -f "$PACKTMP-$name.bitmap"
Since `pack-objects` will write a `.bitmap` file next to the `.pack` and
`.idx` files, this commit teaches `git-repack` to consider the new
bitmap indexes (if they exist) when performing repack operations.
This implies moving old bitmap indexes out of the way if we are
repacking a repository that
3 matches
Mail list logo