Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
send-pack: respect '+' on wildcard refspecs
[gitweb.git]
/
remote.c
diff --git
a/remote.c
b/remote.c
index bb774d0bcc3f5b3e7a8cdbb29ba43fcaf00f0d4c..cdbbdcb00dee400f4fe654a86c1dd0060a613904 100644
(file)
--- a/
remote.c
+++ b/
remote.c
@@
-626,6
+626,8
@@
int match_refs(struct ref *src, struct ref *dst, struct ref ***dst_tail,
hashcpy(dst_peer->new_sha1, src->new_sha1);
}
dst_peer->peer_ref = src;
+ if (pat)
+ dst_peer->force = pat->force;
free_name:
free(dst_name);
}