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)
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

No differences found