From: Junio C Hamano Date: Wed, 27 Nov 2024 23:07:33 GMT Subject: Re: [PATCH v2] fast-import: disallow "." and ".." path components Message-ID: In-Reply-To: <20241127142458.GA1712@coredump.intra.peff.net> Jeff King 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.