Merge branch 'nd/daemonize-gc' into maint
commit94c734a60726c78048e0a7b136df88f1c9dc1d60
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Jun 2014 18:47:36 +0000 (25 11:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Jun 2014 18:47:36 +0000 (25 11:47 -0700)
treed547f4a897753a901f7618866e7a08e02efbeb1a
parentcb4575fb181c418a85231ec962c01ef314ec9dfc
parent62aad1849f3009d1e6c7126a321e5515c1543dc3
Merge branch 'nd/daemonize-gc' into maint

"git gc --auto" was recently changed to run in the background to
give control back early to the end-user sitting in front of the
terminal, but it forgot that housekeeping involving reflogs should
be done without other processes competing for accesses to the refs.

* nd/daemonize-gc:
  gc --auto: do not lock refs in the background
builtin/gc.c