Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refs: convert read_raw_ref backends to struct object_id
[gitweb.git]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index 030eba5a0c5bc537361607d79993985efa7ad8c3..6d5f3c0d39a886f5010115927d71f205a96d0e04 100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-955,7
+955,7
@@
static int send_ref(const char *refname, const struct object_id *oid,
packet_write_fmt(1, "%s %s\n", oid_to_hex(oid), refname_nons);
}
capabilities = NULL;
- if (!peel_ref(refname,
peeled.hash
))
+ if (!peel_ref(refname,
&peeled
))
packet_write_fmt(1, "%s %s^{}\n", oid_to_hex(&peeled), refname_nons);
return 0;
}