summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-01 16:05:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-01 16:05:35 (GMT)
commit6d37c162bb5b9cb4453e43d4488e953fe65cc67e (patch)
tree2acf74de5d0a4456e71352022453c1dbb087ad99
parentb2fb3911eab730a08168c7f85a7935ad5a330b53 (diff)
parent703e8e65c8e3781642ae609117818c42496adf24 (diff)
downloadgit-6d37c162bb5b9cb4453e43d4488e953fe65cc67e.zip
git-6d37c162bb5b9cb4453e43d4488e953fe65cc67e.tar.gz
git-6d37c162bb5b9cb4453e43d4488e953fe65cc67e.tar.bz2
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
-rw-r--r--remote.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/remote.c b/remote.c
index 57f36e1..ca1edd9 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;