]> git.neil.brown.name Git - git.git/commit
Merge branch 'jk/gc-pre-detach-under-hook' into jch
authorJunio C Hamano <gitster@pobox.com>
Thu, 13 Jul 2017 23:23:28 +0000 (16:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Jul 2017 23:23:28 +0000 (16:23 -0700)
commitfe05099fb7757633494d78278098aa3e4ec9c982
tree006bfdb30bde6f22636f718da4d752a8fcd9796c
parentb53d9c8d5dcc79ed362ff5cd6d9474a1056f4167
parentc45af94dbc960cbb46ac482ec9cb7f73f55ea270
Merge branch 'jk/gc-pre-detach-under-hook' into jch

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
builtin/gc.c