]> git.ipfire.org Git - thirdparty/git.git/commit - GIT-VERSION-GEN
Merge branch 'jk/upload-pack-v2-capability-cleanup'
authorJunio C Hamano <gitster@pobox.com>
Thu, 7 Mar 2024 23:59:42 +0000 (15:59 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Mar 2024 23:59:42 +0000 (15:59 -0800)
commita82fa7bce88e9795f18d01ed11df927e4de70ccf
tree13937fa62bccd96666c43a3aefcb6af937db2062
parent56d608456000121f141a40c4501d41d712381674
parenta922bfa3b5a6b2ac5e98f0e3405d66c1847aa7e8
Merge branch 'jk/upload-pack-v2-capability-cleanup'

The upload-pack program, when talking over v2, accepted the
packfile-uris protocol extension from the client, even if it did
not advertise the capability, which has been corrected.

* jk/upload-pack-v2-capability-cleanup:
  upload-pack: only accept packfile-uris if we advertised it
  upload-pack: use existing config mechanism for advertisement
  upload-pack: centralize setup of sideband-all config
  upload-pack: use repository struct to get config
upload-pack.c