]> git.ipfire.org Git - thirdparty/git.git/commit - read-cache.c
verify_path: drop clever fallthrough
authorJeff King <peff@peff.net>
Sun, 13 May 2018 17:00:23 +0000 (13:00 -0400)
committerJeff King <peff@peff.net>
Tue, 22 May 2018 03:50:11 +0000 (23:50 -0400)
commite19e5e66d691bdeeeb5e0ed2ffcecdd7666b0d7b
treed274664188ab560297f020005873b4bee2190473
parent41a80924aec0e94309786837b6f954a3b3f19b71
verify_path: drop clever fallthrough

We check ".git" and ".." in the same switch statement, and
fall through the cases to share the end-of-component check.
While this saves us a line or two, it makes modifying the
function much harder. Let's just write it out.

Signed-off-by: Jeff King <peff@peff.net>
read-cache.c