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
maint
Junio C Hamano 2013-04-01 09:05:35 -07:00
commit 6d37c162bb
1 changed files with 0 additions and 3 deletions

View File

@ -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;