Merge branch 'ls/p4-retry-thrice'
[gitweb.git] / transport.c
index 3e8799a6111b3c8672e4068450c9d225f3fcccc5..c86ba2eb897f4ee2e45dadd418587ee4cb76401e 100644 (file)
@@ -1214,7 +1214,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] == '/')