summaryrefslogtreecommitdiff
path: root/t/t7512-status-help.sh
diff options
context:
space:
mode:
authorLibravatar Martin Erik Werner <martinerikwerner@gmail.com>2014-02-04 15:25:18 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-02-04 12:08:47 -0800
commite131daa4c6baa53aba22e5d8bc1defa83b443bf0 (patch)
treeae5e28d1fb9508e2335e0b960b96590ea89a3797 /t/t7512-status-help.sh
parentt0060: add test for prefix_path when path == work tree (diff)
downloadtgif-e131daa4c6baa53aba22e5d8bc1defa83b443bf0.tar.xz
t0060: add tests for prefix_path when path begins with work tree
One edge-case that isn't currently checked in the tests is the beginning of the path matching the work tree, despite the target not actually being the work tree, for example: path = /dir/repoa work_tree = /dir/repo should fail since the path is outside the repo. However, if /dir/repoa is in fact a symlink that points to /dir/repo, it should instead succeed. Add two tests covering these cases, since they might be potential regression points. Signed-off-by: Martin Erik Werner <martinerikwerner@gmail.com> Reviewed-by: Duy Nguyen <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7512-status-help.sh')
0 files changed, 0 insertions, 0 deletions