Merge branch 'jt/transport-hide-vtable'
Code clean-up. * jt/transport-hide-vtable: transport: make transport vtable more private clone, fetch: remove redundant transport check
This commit is contained in:
@ -1095,9 +1095,6 @@ static int do_fetch(struct transport *transport,
|
||||
tags = TAGS_UNSET;
|
||||
}
|
||||
|
||||
if (!transport->get_refs_list || !transport->fetch)
|
||||
die(_("Don't know how to fetch from %s"), transport->url);
|
||||
|
||||
/* if not appending, truncate FETCH_HEAD */
|
||||
if (!append && !dry_run) {
|
||||
retcode = truncate_fetch_head();
|
||||
|
Reference in New Issue
Block a user