summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-10-03 20:49:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-10-10 20:54:02 (GMT)
commite34c2e010f860117dc7f0f992850dfb77ba48289 (patch)
tree9cc8daeae627859e7c5b746b94c6c011ad598d8d /cache.h
parent722ff7f876c8a2ad99c42434f58af098e61b96e8 (diff)
downloadgit-e34c2e010f860117dc7f0f992850dfb77ba48289.zip
git-e34c2e010f860117dc7f0f992850dfb77ba48289.tar.gz
git-e34c2e010f860117dc7f0f992850dfb77ba48289.tar.bz2
tmp-objdir: put quarantine information in the environment
The presence of the GIT_QUARANTINE_PATH variable lets any called programs know that they're operating in a temporary object directory (and where that directory is). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 5d36ffa..c898a1d 100644
--- a/cache.h
+++ b/cache.h
@@ -433,6 +433,7 @@ static inline enum object_type object_type(unsigned int mode)
#define GIT_GLOB_PATHSPECS_ENVIRONMENT "GIT_GLOB_PATHSPECS"
#define GIT_NOGLOB_PATHSPECS_ENVIRONMENT "GIT_NOGLOB_PATHSPECS"
#define GIT_ICASE_PATHSPECS_ENVIRONMENT "GIT_ICASE_PATHSPECS"
+#define GIT_QUARANTINE_ENVIRONMENT "GIT_QUARANTINE_PATH"
/*
* This environment variable is expected to contain a boolean indicating