mirror of
https://github.com/git/git.git
synced 2025-03-21 01:44:28 +00:00
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
This commit is contained in:
commit
6d37c162bb
3
remote.c
3
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user