diff options
| author | Jeff King <peff@peff.net> | 2018-05-13 12:35:37 -0400 |
|---|---|---|
| committer | Jeff King <peff@peff.net> | 2018-05-21 23:55:12 -0400 |
| commit | ed9c3220621d634d543bc4dd998d12167dfc57d4 (patch) | |
| tree | 50393155b7372b6eb048e3b91ee708623ca3da69 /commit.c | |
| parent | index-pack: make fsck error message more specific (diff) | |
| download | git-ed9c3220621d634d543bc4dd998d12167dfc57d4.tar.gz git-ed9c3220621d634d543bc4dd998d12167dfc57d4.zip | |
fsck: simplify ".git" check
There's no need for us to manually check for ".git"; it's a
subset of the other filesystem-specific tests. Dropping it
makes our code slightly shorter. More importantly, the
existing code may make a reader wonder why ".GIT" is not
covered here, and whether that is a bug (it isn't, as it's
also covered in the filesystem-specific tests).
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
