Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
clone: teach --recurse-submodules to optionally take a pathspec
[gitweb.git]
/
transport.c
diff --git
a/transport.c
b/transport.c
index 48864b3a9e66ce42abc7e2350a0afb424df1e93f..5828e06afd670fc9c563da8bf233c34778872e9c 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-299,7
+299,7
@@
void transport_update_tracking_ref(struct remote *remote, struct ref *ref, int v
if (verbose)
fprintf(stderr, "updating local tracking ref '%s'\n", rs.dst);
if (ref->deletion) {
- delete_ref(rs.dst, NULL, 0);
+ delete_ref(
NULL,
rs.dst, NULL, 0);
} else
update_ref("update by push", rs.dst,
ref->new_oid.hash, NULL, 0, 0);