]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'sb/ref-lock-lose-lock-fd'
authorJunio C Hamano <gitster@pobox.com>
Tue, 19 May 2015 20:17:59 +0000 (13:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 May 2015 20:17:59 +0000 (13:17 -0700)
The refs API uses ref_lock struct which had its own "int fd", even
though the same file descriptor was in the lock struct it contains.
Clean-up the code to lose this redundant field.

* sb/ref-lock-lose-lock-fd:
  refs.c: remove lock_fd from struct ref_lock

1  2 
refs.c

diff --cc refs.c
Simple merge