Merge branch 'tb/fetch-follow-tags-fix'
* tb/fetch-follow-tags-fix: fetch: fix following tags when fetching specific OID
This commit is contained in:
@@ -1777,7 +1777,9 @@ static int do_fetch(struct transport *transport,
|
||||
|
||||
if (uses_remote_tracking(transport, rs)) {
|
||||
must_list_refs = 1;
|
||||
strvec_push(&transport_ls_refs_options.ref_prefixes, "HEAD");
|
||||
if (transport_ls_refs_options.ref_prefixes.nr)
|
||||
strvec_push(&transport_ls_refs_options.ref_prefixes,
|
||||
"HEAD");
|
||||
}
|
||||
|
||||
if (must_list_refs) {
|
||||
|
||||
Reference in New Issue
Block a user