Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Improve config file escape sanity checking
[gitweb.git]
/
path.c
diff --git
a/path.c
b/path.c
index b85f087f4390f1235a6b9e9545b3f6dd8457fdd5..495d17ca4ca371f4b5bdb6f1f3de9a6a9d84280b 100644
(file)
--- a/
path.c
+++ b/
path.c
@@
-41,7
+41,7
@@
char *mkpath(const char *fmt, ...)
char *git_path(const char *fmt, ...)
{
- const char *git_dir = g
itenv(GIT_DIR_ENVIRONMENT) ? : DEFAULT_GIT_DIR_ENVIRONMENT
;
+ const char *git_dir = g
et_git_dir()
;
va_list args;
unsigned len;