]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
lockfile.h: extract new header file for the functions in lockfile.c
authorMichael Haggerty <mhagger@alum.mit.edu>
Wed, 1 Oct 2014 10:28:42 +0000 (12:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Oct 2014 20:56:14 +0000 (13:56 -0700)
commit697cc8efd944a32ca472337cd6640004c474b788
treea8999149e7e907e2b65b6617bd5d45d6c675a72e
parent216aab1e3d8eef088dc9785febce24a110e9f835
lockfile.h: extract new header file for the functions in lockfile.c

Move the interface declaration for the functions in lockfile.c from
cache.h to a new file, lockfile.h. Add #includes where necessary (and
remove some redundant includes of cache.h by files that already
include builtin.h).

Move the documentation of the lock_file state diagram from lockfile.c
to the new header file.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
35 files changed:
builtin/add.c
builtin/apply.c
builtin/checkout-index.c
builtin/checkout.c
builtin/clone.c
builtin/commit.c
builtin/describe.c
builtin/diff.c
builtin/gc.c
builtin/merge.c
builtin/mv.c
builtin/read-tree.c
builtin/receive-pack.c
builtin/reflog.c
builtin/reset.c
builtin/rm.c
builtin/update-index.c
bundle.c
cache-tree.c
cache.h
config.c
credential-store.c
fast-import.c
fetch-pack.c
lockfile.c
lockfile.h [new file with mode: 0644]
merge-recursive.c
merge.c
read-cache.c
refs.c
rerere.c
sequencer.c
sha1_file.c
shallow.c
test-scrap-cache-tree.c