Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/ws-error-highlight'
[gitweb.git]
/
transport.c
diff --git
a/transport.c
b/transport.c
index a85801042b012c2e2684cbb4e5e3dc1925e43582..079499dbafd749aaaebcac96d717893c8919ef23 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-1096,9
+1096,7
@@
static int refs_from_alternate_cb(struct alternate_object_database *e,
const struct ref *extra;
struct alternate_refs_data *cb = data;
- e->name[-1] = '\0';
- other = xstrdup(real_path(e->base));
- e->name[-1] = '/';
+ other = xstrdup(real_path(e->path));
len = strlen(other);
while (other[len-1] == '/')