]> git.ipfire.org Git - thirdparty/git.git/blobdiff - path.c
Retire support for old environment variables.
[thirdparty/git.git] / path.c
diff --git a/path.c b/path.c
index 142e575e5c293b92ff8a5612c7acc86d050c1119..f788028a63dbd9b34563d2589697f4b5d65b8648 100644 (file)
--- a/path.c
+++ b/path.c
@@ -45,7 +45,7 @@ char *git_path(const char *fmt, ...)
        va_list args;
        unsigned len;
 
-       git_dir = gitenv(GIT_DIR_ENVIRONMENT);
+       git_dir = getenv(GIT_DIR_ENVIRONMENT);
        if (!git_dir) git_dir = DEFAULT_GIT_DIR_ENVIRONMENT;
        len = strlen(git_dir);
        if (len > PATH_MAX-100)