Re: [PATCH v6] gc: ignore old gc.log files

2017-02-13 Thread Junio C Hamano
David Turner writes: > +static unsigned long gc_log_expire_time; > +static const char *gc_log_expire = "1.day.ago"; OK. > @@ -113,6 +133,8 @@ static void gc_config(void) > git_config_get_bool("gc.autodetach", _auto); > git_config_date_string("gc.pruneexpire",

[PATCH v6] gc: ignore old gc.log files

2017-02-10 Thread David Turner
A server can end up in a state where there are lots of unreferenced loose objects (say, because many users are doing a bunch of rebasing and pushing their rebased branches). Running "git gc --auto" in this state would cause a gc.log file to be created, preventing future auto gcs, causing pack