]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/reopen-lock-file'
authorJunio C Hamano <gitster@pobox.com>
Tue, 2 Sep 2014 20:20:12 +0000 (13:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Sep 2014 20:20:13 +0000 (13:20 -0700)
There are cases where you lock and open to write a file, close it to
show the updated contents to external processes, and then have to
update the file again while still holding the lock, but the lockfile
API lacked support for such an access pattern.

* jc/reopen-lock-file:
  lockfile: allow reopening a closed but still locked file

1  2 
cache.h
lockfile.c

diff --cc cache.h
Simple merge
diff --cc lockfile.c
Simple merge