Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refs: update ref transactions to use struct object_id
[gitweb.git]
/
builtin
/
clone.c
diff --git
a/builtin/clone.c
b/builtin/clone.c
index 4135621aa3dfaf9d027856642f13e6ede1a1dce9..665a0e2673f2864d579791c1fa13f37cae58ccc4 100644
(file)
--- a/
builtin/clone.c
+++ b/
builtin/clone.c
@@
-588,7
+588,7
@@
static void write_remote_refs(const struct ref *local_refs)
for (r = local_refs; r; r = r->next) {
if (!r->peer_ref)
continue;
- if (ref_transaction_create(t, r->peer_ref->name,
r->old_oid.hash
,
+ if (ref_transaction_create(t, r->peer_ref->name,
&r->old_oid
,
0, NULL, &err))
die("%s", err.buf);
}