Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
parse_fetch: convert to use struct object_id
[gitweb.git]
/
connect.c
diff --git
a/connect.c
b/connect.c
index 108f5ab60e0ab122f0a86612ba9e4875ded29f26..d13a10a94c72a2d7e3272393fb5a1a502720e204 100644
(file)
--- a/
connect.c
+++ b/
connect.c
@@
-166,7
+166,7
@@
struct ref **get_remote_heads(int in, char *src_buf, size_t src_len,
if (!check_ref(name, flags))
continue;
ref = alloc_ref(buffer + 41);
- hashcpy(ref->old_
sha1
, old_sha1);
+ hashcpy(ref->old_
oid.hash
, old_sha1);
*list = ref;
list = &ref->next;
got_at_least_one_head = 1;