Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git.c: add hidden option --list-parseopt-builtins
[gitweb.git]
/
transport.c
diff --git
a/transport.c
b/transport.c
index 31b6d4d0e02d696603e5ecd3ffbb0b27e68d856d..fc802260f61c7496f4250b15ef6f5ab8dd316898 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-306,8
+306,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);
}
}