Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Add a per-repository authorization hook.
[gitweb.git]
/
environment.c
diff --git
a/environment.c
b/environment.c
index 0693cd9a42adf4914bb219ecf24fc6d5da7aafd3..bf93a598d0e2c4aedbc4065a43df0e9750f93a1c 100644
(file)
--- a/
environment.c
+++ b/
environment.c
@@
-71,7
+71,7
@@
static void setup_git_env(void)
}
git_graft_file = getenv(GRAFT_ENVIRONMENT);
if (!git_graft_file)
- git_graft_file =
xstrdup(git_path("info/grafts")
);
+ git_graft_file =
git_pathdup("info/grafts"
);
}
int is_bare_repository(void)