Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refs: convert reflog_expire parameter to struct object_id
[gitweb.git]
/
transport.c
diff --git
a/transport.c
b/transport.c
index f1e2f61991424f3314158676754f6b8d305a31f2..7231d1b1b0632fa9bb71bcc074b143ff34c1a733 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-305,8
+305,8
@@
void transport_update_tracking_ref(struct remote *remote, struct ref *ref, int v
if (ref->deletion) {
delete_ref(NULL, rs.dst, NULL, 0);
} else
- update_ref("update by push", rs.dst,
-
ref->new_oid.hash,
NULL, 0, 0);
+ update_ref("update by push", rs.dst,
&ref->new_oid,
+ NULL, 0, 0);
free(rs.dst);
}
}