Merge branch 'mh/ref-lock-entry'
authorJunio C Hamano <gitster@pobox.com>
Sun, 27 Aug 2017 05:55:09 +0000 (22:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 27 Aug 2017 05:55:09 +0000 (22:55 -0700)
commitf2dd90fc1c38ce1d1ebf626e39ddafad130875ae
treeefa2f719a8aa9c64c394d4ef78a02b40300cb25c
parent138e52ea6856c9982d61285d9ff3cb5a65f67d85
parent4ff0f01cb7dd92fad49b4d0799590bb33a88168a
Merge branch 'mh/ref-lock-entry'

The code to acquire a lock on a reference (e.g. while accepting a
push from a client) used to immediately fail when the reference is
already locked---now it waits for a very short while and retries,
which can make it succeed if the lock holder was holding it during
a read-only operation.

* mh/ref-lock-entry:
  refs: retry acquiring reference locks for 100ms
Documentation/config.txt
refs.c
refs/files-backend.c
refs/refs-internal.h