]> git.ipfire.org Git - thirdparty/git.git/commit - read-cache.c
hold_locked_index(): move from lockfile.c to read-cache.c
authorMichael Haggerty <mhagger@alum.mit.edu>
Wed, 1 Oct 2014 10:28:41 +0000 (12:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Oct 2014 20:54:31 +0000 (13:54 -0700)
commit216aab1e3d8eef088dc9785febce24a110e9f835
tree36986d0850dabe51c519fbdb0c130e608fc6c573
parent4d423a3e62c7ab0b04c4bd84995c32daff3b24c3
hold_locked_index(): move from lockfile.c to read-cache.c

lockfile.c contains the general API for locking any file. Code
specifically about the index file doesn't belong here.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
lockfile.c
read-cache.c