From: Junio C Hamano Date: Mon, 31 Jul 2017 20:51:05 +0000 (-0700) Subject: Merge branch 'jk/gc-pre-detach-under-hook' into maint X-Git-Tag: v2.13.4~5 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=133578a020ac5449d36cea741cfc1e7acd7f93a8;p=git-core%2Fgit.git Merge branch 'jk/gc-pre-detach-under-hook' into maint We run an early part of "git gc" that deals with refs before daemonising (and not under lock) even when running a background auto-gc, which caused multiple gc processes attempting to run the early part at the same time. This is now prevented by running the early part also under the GC lock. * jk/gc-pre-detach-under-hook: gc: run pre-detach operations under lock --- 133578a020ac5449d36cea741cfc1e7acd7f93a8