Code

Add support for a "GIT_INDEX_FILE" environment variable.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 21 Apr 2005 17:55:18 +0000 (10:55 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 21 Apr 2005 17:55:18 +0000 (10:55 -0700)
commitbb233d690a9782e1570dc93ead2bf04aaca7cfe4
treefb5599a254b880afd905dcef56c639292f94b6ee
parent65bb49144d26a10837582a99e66041035319ff91
Add support for a "GIT_INDEX_FILE" environment variable.

We use that to specify alternative index files, which can be useful
if you want to (for example) generate a temporary index file to do
some specific operation that you don't want to mess with your main
one with.

It defaults to the regular ".git/index" if it hasn't been specified.
cache.h
checkout-cache.c
read-cache.c
read-tree.c
show-files.c
update-cache.c