diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-21 21:55:18 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-21 21:55:18 +0400 |
commit | bb233d690a9782e1570dc93ead2bf04aaca7cfe4 (patch) | |
tree | fb5599a254b880afd905dcef56c639292f94b6ee /checkout-cache.c | |
parent | 65bb49144d26a10837582a99e66041035319ff91 (diff) |
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.
Diffstat (limited to 'checkout-cache.c')
-rw-r--r-- | checkout-cache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/checkout-cache.c b/checkout-cache.c index 972b1f776e..f65be62b4a 100644 --- a/checkout-cache.c +++ b/checkout-cache.c @@ -32,8 +32,6 @@ * of "-a" causing problems (not possible in the above example, * but get used to it in scripting!). */ -#include <sys/param.h> - #include "cache.h" static int force = 0, quiet = 0; |