Thread (3 messages) flat view 3 messages, 1 author, 2016-06-15
DORMANTno replies

Revision v2 of 2 in this series.

Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 0/2] Retry attempts to acquire the packed-refs lock

From: Michael Haggerty <hidden>
Date: 2016-06-15 23:04:43

This is a re-roll of [1]. The only change is the addition of a "wait"
in the test to avoid an unlikely race between the lockfile-removing
subprocess and the attempt by the outer layer of the test to delete
the test directory.

Thanks to Hannes, Stefan, and Peff for their comments about v1.

Michael

[1] http://thread.gmane.org/gmane.comp.version-control.git/268137

Michael Haggerty (2):
  lockfile: allow file locking to be retried with a timeout
  lock_packed_refs(): allow retries when acquiring the packed-refs lock

 Documentation/config.txt |  6 ++++
 lockfile.c               | 79 ++++++++++++++++++++++++++++++++++++++++++++++--
 lockfile.h               | 16 ++++++++--
 refs.c                   | 12 +++++++-
 t/t3210-pack-refs.sh     | 17 +++++++++++
 5 files changed, 125 insertions(+), 5 deletions(-)

-- 
2.1.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help