summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-09-09 14:48:54 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-09-09 14:48:54 -0700
commita9ab586a5db015d200dfdadcf5876d62f15dd36c (patch)
tree7631ead8e5869cad95d4e4c8e33415508335b7a5 /cache.h
parentAdjust .gitignore for big rename. (diff)
downloadtgif-a9ab586a5db015d200dfdadcf5876d62f15dd36c.tar.xz
Retire support for old environment variables.
We have deprecated the old environment variable names for quite a while and now it's time to remove them. Gone are: SHA1_FILE_DIRECTORIES AUTHOR_DATE AUTHOR_EMAIL AUTHOR_NAME COMMIT_AUTHOR_EMAIL COMMIT_AUTHOR_NAME SHA1_FILE_DIRECTORY Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/cache.h b/cache.h
index f0c9b01aa3..dcfcbbc7ce 100644
--- a/cache.h
+++ b/cache.h
@@ -54,17 +54,6 @@
#define DEFAULT_GIT_PORT 9418
/*
- * Environment variables transition.
- * We accept older names for now but warn.
- */
-extern char *gitenv_bc(const char *);
-#ifdef __GNUC__
-#define gitenv(e) (getenv(e) ? : gitenv_bc(e))
-#else
-#define gitenv(e) (getenv(e) ? getenv(e) : gitenv_bc(e))
-#endif
-
-/*
* Basic data structures for the directory cache
*/