Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pack.h: define largest possible encoded object size
[gitweb.git]
/
transport.c
diff --git
a/transport.c
b/transport.c
index d72e0894840fc384d67339b549a9a6bce7ba03ec..b6c5652d6cb5eb9b0c1d3ed80ad5034ce7f9b5dc 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-1221,7
+1221,7
@@
static int refs_from_alternate_cb(struct alternate_object_database *e,
const struct ref *extra;
struct alternate_refs_data *cb = data;
- other = real_pathdup(e->path);
+ other = real_pathdup(e->path
, 1
);
len = strlen(other);
while (other[len-1] == '/')