Re: [PATCH v2] fast-import: disallow more path components
- From
Jeff King <peff@peff.net>
- Date
- Dec 1, 2024, 21:40 UTC
- Message-ID
- <20241201214014.GC145938@coredump.intra.peff.net>
- In-Reply-To
- <pull.1832.v2.git.1732928970059.gitgitgadget@gmail.com>
On Sat, Nov 30, 2024 at 01:09:29AM +0000, Elijah Newren via GitGitGadget wrote:
> Changes since v1: > > * Moved the check to a higher level, as suggested by Peff.
Thanks, the code change looks good. Is it worth tweaking one of the tests to do "R innocent-path .git/evil"? Otherwise I don't think there's any coverage of the file_change_cr() call at all.
-Peff