diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-21 10:55:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-21 10:55:18 -0700 |
commit | bb233d690a9782e1570dc93ead2bf04aaca7cfe4 (patch) | |
tree | fb5599a254b880afd905dcef56c639292f94b6ee /show-files.c | |
parent | 65bb49144d26a10837582a99e66041035319ff91 (diff) | |
download | git-bb233d690a9782e1570dc93ead2bf04aaca7cfe4.tar.gz |
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 'show-files.c')
-rw-r--r-- | show-files.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/show-files.c b/show-files.c index b1a8e3dd55..b53ab1053e 100644 --- a/show-files.c +++ b/show-files.c @@ -6,7 +6,6 @@ * Copyright (C) Linus Torvalds, 2005 */ #include <dirent.h> -#include <sys/param.h> #include "cache.h" |