summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-01 09:05:35 -0700
committerJunio C Hamano <gitster@pobox.com>2013-04-01 09:05:35 -0700
commit6d37c162bb5b9cb4453e43d4488e953fe65cc67e (patch)
tree2acf74de5d0a4456e71352022453c1dbb087ad99 /remote.c
parentb2fb3911eab730a08168c7f85a7935ad5a330b53 (diff)
parent703e8e65c8e3781642ae609117818c42496adf24 (diff)
downloadgit-6d37c162bb5b9cb4453e43d4488e953fe65cc67e.tar.gz
Merge branch 'jc/nobody-sets-src-peer-ref'
Dead code removal. * jc/nobody-sets-src-peer-ref: match_push_refs(): nobody sets src->peer_ref anymore
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/remote.c b/remote.c
index 57f36e14da..ca1edd901e 100644
--- 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;