summaryrefslogtreecommitdiff
path: root/builtin/fast-export.c
diff options
context:
space:
mode:
authorLibravatar Anders Kaseorg <andersk@mit.edu>2021-12-01 14:15:46 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-01 22:18:25 -0800
commit9fdf4f1db422cc259e4a3ce0023a255102c6fa3b (patch)
treea041ac1de8d1661dbedee3df94834dd453db9781 /builtin/fast-export.c
parentreceive-pack: clean dead code from update_worktree() (diff)
downloadtgif-9fdf4f1db422cc259e4a3ce0023a255102c6fa3b.tar.xz
receive-pack: protect current branch for bare repository worktree
A bare repository won’t have a working tree at "..", but it may still have separate working trees created with git worktree. We should protect the current branch of such working trees from being updated or deleted, according to receive.denyCurrentBranch. Signed-off-by: Anders Kaseorg <andersk@mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fast-export.c')
0 files changed, 0 insertions, 0 deletions