From: Junio C Hamano Date: Tue, 18 Jul 2017 19:48:10 +0000 (-0700) Subject: Merge branch 'jk/gc-pre-detach-under-hook' X-Git-Tag: v2.14.0-rc1~17 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/764046f6b0ea8480ef7f79dd2b9c48cab0c32d22?ds=inline;hp=--cc Merge branch 'jk/gc-pre-detach-under-hook' 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 --- 764046f6b0ea8480ef7f79dd2b9c48cab0c32d22