summaryrefslogtreecommitdiff
path: root/checkout-cache.c
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 10:55:18 -0700
committerLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 10:55:18 -0700
commitbb233d690a9782e1570dc93ead2bf04aaca7cfe4 (patch)
treefb5599a254b880afd905dcef56c639292f94b6ee /checkout-cache.c
parentAdd the ability to prefix something to the pathname to "checkout-cache.c" (diff)
downloadtgif-bb233d690a9782e1570dc93ead2bf04aaca7cfe4.tar.xz
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;