Re: [PATCH 6/5] NUL hack to create_file()
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- May 29, 2008, 06:33 UTC
- Message-ID
- <483E4E3C.90805@viscovery.net>
- In-Reply-To
- <1212020246-26480-7-git-send-email-gitster@pobox.com>
Junio C Hamano schrieb:
> This is not meant for application to the mainline. It allows your git to > refuse to create a blob whose name is "nul".
It's not just about "nul"; these won't work either: "aux", "prn", "con", "com\d+", "lpt\d+", neither do "$one_of_these.$some_extension". And all of that regardless of the case!
See http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx
Definitely, we don't ever want to have such special-casing somewhere in git.
-- Hannes