Skip to content

Commit

Permalink
Merge branch 'jc/nobody-sets-src-peer-ref'
Browse files Browse the repository at this point in the history
Dead code removal.

* jc/nobody-sets-src-peer-ref:
  match_push_refs(): nobody sets src->peer_ref anymore
  • Loading branch information
Junio C Hamano committed Apr 1, 2013
2 parents b2fb391 + 703e8e6 commit 6d37c16
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6d37c16

Please sign in to comment.