Re: [PATCH] Make git prune remove temporary packs that look like write failures
- From
Nicolas Pitre <nico@cam.org>
- Date
- Feb 5, 2008, 19:02 UTC
- Message-ID
- <alpine.LFD.1.00.0802051357420.2732@xanadu.home>
- In-Reply-To
- <Pine.GSO.4.63.0802051844220.15867@suma3>
On Tue, 5 Feb 2008, David Steven Tweed wrote:
Show 6 quoted lines
> @@ -115,5 +139,6 @@ int cmd_prune(int argc, const char **argv, const char > *prefix) > > sync(); > prune_packed_objects(show_only); > + remove_temporary_files();
Maybe you could implement the "show_only" mode for remove_temporary_files() as well? Otherwise the -n option would not be respected.
Also you should consider honoring the --expire option as well.
Nicolas