summaryrefslogtreecommitdiff
path: root/t/t7102-reset.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-11-24 13:40:11 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-17 11:04:39 -0800
commit450870cba7a9bac94b5527021800bd8bf037c99c (patch)
tree2e93b3afe16118e538d6aedaa717d999f487d04a /t/t7102-reset.sh
parentverify_dotfile(): reject .git case-insensitively (diff)
downloadtgif-450870cba7a9bac94b5527021800bd8bf037c99c.tar.xz
t1450: refactor ".", "..", and ".git" fsck tests
We check that fsck notices and complains about confusing paths in trees. However, there are a few shortcomings: 1. We check only for these paths as file entries, not as intermediate paths (so ".git" and not ".git/foo"). 2. We check "." and ".." together, so it is possible that we notice only one and not the other. 3. We repeat a lot of boilerplate. Let's use some loops to be more thorough in our testing, and still end up with shorter code. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7102-reset.sh')
0 files changed, 0 insertions, 0 deletions