Re: [PATCH] Make git prune remove temporary packs that look like write failures
David Steven Tweed <d.s.tweed@reading.ac.uk> writes:
Show 15 quoted lines
> Write errors when repacking (eg, due to out-of-space conditions)
> can leave temporary packs (and possibly other files beginning
> with "tmp_") lying around which no existing
> codepath removes and which aren't obvious to the casual user.
> These can also be multi-megabyte files wasting noticeable space.
> Unfortunately there's no way to definitely tell in builtin-prune
> that a tmp_ file is not being used by a concurrent process.
> However, it is documented that pruning should only be done
> on a quiet repository. The names of removed files are printed.
>
> Signed-off-by: David Tweed (david.tweed@gmail.com)
> ---
>
> Per discussion of previous version, this now unconditionally
> removes any tmp_ file existing when prune is run.
Sorry, can't apply
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed