Re: What's cooking in git.git (Nov 2016, #06; Mon, 28)
- From
Jeff King <peff@peff.net>
- Date
- Nov 29, 2016, 18:37 UTC
- Message-ID
- <20161129183758.wicmteo5vdvygu2q@sigill.intra.peff.net>
- In-Reply-To
- <xmqqfumagmso.fsf@gitster.mtv.corp.google.com>
On Tue, Nov 29, 2016 at 10:31:51AM -0800, Junio C Hamano wrote:
Show 7 quoted lines
> Jeff King <peff@peff.net> writes: > > > I'm actually considering scrapping the approach you've queued above, and > > just teaching verify_path() to reject any index entry starting with > > ".git" that is a symlink. > > Hmph, that's a thought.
I was resistant to it at first because we'll have to deal with all of the headaches of matching case-folding, but if we just match ".git*" and not ".gitmodules", ".gitattributes", etc, it actually gets easier. I think we can basically build off of the existing is_hfs_dotgit() and is_ntfs_dotgit() functions.
I haven't written the code yet, though, so there may be complications.
-Peff