Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/nobody-sets-src-peer-ref'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 1 Apr 2013 16:05:35 +0000
(09:05 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 1 Apr 2013 16:05:35 +0000
(09:05 -0700)
Dead code removal.
* jc/nobody-sets-src-peer-ref:
match_push_refs(): nobody sets src->peer_ref anymore
remote.c
patch
|
blob
|
history
raw
(from parent 1:
b2fb391
)
diff --git
a/remote.c
b/remote.c
index 57f36e14da7a8a33ae8c02a4bf46492936c79fdd..ca1edd901e4e64cb497b790f675537283c4ee1c0 100644
(file)
--- a/
remote.c
+++ b/
remote.c
@@
-1322,9
+1322,6
@@
int match_push_refs(struct ref *src, struct ref **dst,
const struct refspec *pat = NULL;
char *dst_name;
- if (ref->peer_ref)
- continue;
-
dst_name = get_ref_match(rs, nr_refspec, ref, send_mirror, FROM_SRC, &pat);
if (!dst_name)
continue;