summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorKim Altintop <kim@eagain.st>2021-08-13 06:23:50 +0000
committerJunio C Hamano <gitster@pobox.com>2021-09-01 07:54:18 -0700
commit39551406539e6ea87f89f619f7f0800e887e9b57 (patch)
treec1f90380755e6638d4dcb682bceb6afaad3cf13a /builtin/commit.c
parentbac01c6469b2489042b867d409894a3152ec98a1 (diff)
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions