Jeff King <peff@xxxxxxxx> writes: > I had the same thought, but I think the right code to be using is > verify_path(). That's what ultimately is used to let names into the > index from trees, from update-index, or from other tools like git-apply. Yeah, I agree that is the right helper to use.