Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 21:55:18 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 21:55:18 +0400
commitbb233d690a9782e1570dc93ead2bf04aaca7cfe4 (patch)
treefb5599a254b880afd905dcef56c639292f94b6ee /checkout-cache.c
parent65bb49144d26a10837582a99e66041035319ff91 (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.c2
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;