Make index file locking code reusable to others.
commit021b6e454944a4fba878651ebf9bfe0a3f6c3077
authorJunio C Hamano <junkio@cox.net>
Tue, 6 Jun 2006 19:51:49 +0000 (6 12:51 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 6 Jun 2006 21:30:58 +0000 (6 14:30 -0700)
tree125f7ae01b9c959782e345baa03c7c786cc3f4ce
parentdd8239f997962d94162790039b008acb6068a242
Make index file locking code reusable to others.

The framework to create lockfiles that are removed at exit is
first used to reliably write the index file, but it is
applicable to other things, so stop calling it "cache_file".

This also rewords a few remaining error message that called the
index file "cache file".

Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
builtin-add.c
builtin-apply.c
builtin-read-tree.c
builtin-rm.c
cache.h
checkout-index.c
index.c [deleted file]
lockfile.c [new file with mode: 0644]
update-index.c
write-tree.c