summaryrefslogtreecommitdiff
path: root/t/t9107-git-svn-migrate.sh
diff options
context:
space:
mode:
authorLibravatar Kim Altintop <kim@eagain.st>2021-08-13 06:23:50 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-01 07:54:18 -0700
commit39551406539e6ea87f89f619f7f0800e887e9b57 (patch)
treec1f90380755e6638d4dcb682bceb6afaad3cf13a /t/t9107-git-svn-migrate.sh
parentt5730: introduce fetch command helper (diff)
downloadtgif-39551406539e6ea87f89f619f7f0800e887e9b57.tar.xz
upload-pack.c: treat want-ref relative to namespace
When 'upload-pack' runs within the context of a git namespace, treat any 'want-ref' lines the client sends as relative to that namespace. Also check if the wanted ref is hidden via 'hideRefs'. If it is hidden, respond with an error as if the ref didn't exist. Helped-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Kim Altintop <kim@eagain.st> Reviewed-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9107-git-svn-migrate.sh')
0 files changed, 0 insertions, 0 deletions