diff options
author | Jeff King <peff@peff.net> | 2014-11-24 21:40:11 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-17 22:04:39 +0300 |
commit | 450870cba7a9bac94b5527021800bd8bf037c99c (patch) | |
tree | 2e93b3afe16118e538d6aedaa717d999f487d04a /utf8.h | |
parent | cc2fc7c2f07c4a2aba5a653137ac9b489e05df43 (diff) |
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 'utf8.h')
0 files changed, 0 insertions, 0 deletions