Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
real_path: have callers use real_pathdup and strbuf_realpath
[gitweb.git]
/
transport.c
diff --git
a/transport.c
b/transport.c
index d57e8dec28d6890ce981a8422e9b8b60b697ecd6..236c6f6b095ad508c57e6ff1048d3b7ca623ca2e 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-1130,7
+1130,7
@@
static int refs_from_alternate_cb(struct alternate_object_database *e,
const struct ref *extra;
struct alternate_refs_data *cb = data;
- other =
xstrdup(real_path(e->path)
);
+ other =
real_pathdup(e->path
);
len = strlen(other);
while (other[len-1] == '/')