From: Nicolas Pitre Date: Tue, 05 Feb 2008 19:02:26 GMT Subject: Re: [PATCH] Make git prune remove temporary packs that look like write failures Message-ID: In-Reply-To: On Tue, 5 Feb 2008, David Steven Tweed wrote: > @@ -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