Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'bp/checkout-new-branch-optim'
[gitweb.git]
/
path.h
diff --git
a/path.h
b/path.h
index b654ea8ff5f2e701239ec17b8d1fc81cebfc25dd..651e6157fc480264e3495bd508a88d0835de1379 100644
(file)
--- a/
path.h
+++ b/
path.h
@@
-165,7
+165,7
@@
extern void report_linked_checkout_garbage(void);
const char *git_path_##var(struct repository *r) \
{ \
if (!r->cached_paths.var) \
- r->cached_paths.var =
git_pathdup(
filename); \
+ r->cached_paths.var =
repo_git_path(r,
filename); \
return r->cached_paths.var; \
}