From: Junio C Hamano Date: Sat, 29 Mar 2025 07:39:08 +0000 (+0900) Subject: Merge branch 'jk/fetch-ref-prefix-cleanup' X-Git-Tag: v2.50.0-rc0~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=650b2e2fdbb7bbf04c619a878b5aa2120913e281;p=thirdparty%2Fgit.git Merge branch 'jk/fetch-ref-prefix-cleanup' In protocol v2 where the refs advertisement is constrained, we try to tell the server side not to limit the advertisement when there is no specific need to, which has been the source of confusion and recent bugs. Revamp the logic to simplify. * jk/fetch-ref-prefix-cleanup: fetch: use ref prefix list to skip ls-refs fetch: avoid ls-refs only to ask for HEAD symref update fetch: stop protecting additions to ref-prefix list fetch: ask server to advertise HEAD for config-less fetch refspec_ref_prefixes(): clean up refspec_item logic t5516: beef up exact-oid ref prefixes test t5516: drop NEEDSWORK about v2 reachability behavior t5516: prefer "oid" to "sha1" in some test titles t5702: fix typo in test name --- 650b2e2fdbb7bbf04c619a878b5aa2120913e281