Merge branch 'rd/man-prune-progress'
[gitweb.git] / transport.c
index f1e2f61991424f3314158676754f6b8d305a31f2..7231d1b1b0632fa9bb71bcc074b143ff34c1a733 100644 (file)
@@ -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);
        }
 }