Files
git/builtin
Nguyễn Thái Ngọc Duy 64a99eb476 gc: reject if another gc is running, unless --force is given
This may happen when `git gc --auto` is run automatically, then the
user, to avoid wait time, switches to a new terminal, keeps working
and `git gc --auto` is started again because the first gc instance has
not clean up the repository.

This patch tries to avoid multiple gc running, especially in --auto
mode. In the worst case, gc may be delayed 12 hours if a daemon reuses
the pid stored in gc.pid.

kill(pid, 0) support is added to MinGW port so it should work on
Windows too.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-08-09 09:10:05 -07:00
..
2012-09-17 15:59:34 -07:00
2013-01-23 21:19:10 -08:00
2012-11-20 10:32:10 -08:00
2013-02-01 12:40:16 -08:00
2013-04-03 09:18:01 -07:00
2013-01-20 17:06:53 -08:00
2013-01-23 21:19:10 -08:00
2012-09-11 11:36:05 -07:00
2013-01-16 12:48:22 -08:00
2012-10-25 06:42:27 -04:00
2013-02-04 10:25:04 -08:00
2012-10-29 03:08:30 -04:00
2012-11-29 12:52:30 -08:00
2013-01-20 17:06:53 -08:00
2012-10-25 06:42:27 -04:00
2013-01-16 12:48:22 -08:00