summaryrefslogtreecommitdiff
path: root/fetch-pack.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-11-24 13:40:11 -0500
committerJunio C Hamano <gitster@pobox.com>2014-12-17 11:04:39 -0800
commit450870cba7a9bac94b5527021800bd8bf037c99c (patch)
tree2e93b3afe16118e538d6aedaa717d999f487d04a /fetch-pack.c
parentcc2fc7c2f07c4a2aba5a653137ac9b489e05df43 (diff)
downloadgit-450870cba7a9bac94b5527021800bd8bf037c99c.tar.gz
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 'fetch-pack.c')
0 files changed, 0 insertions, 0 deletions