Re: [PATCH 6/5] NUL hack to create_file()
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 29, 2008, 12:39 UTC
- Message-ID
- <alpine.DEB.1.00.0805291338370.13507@racer.site.net>
- In-Reply-To
- <483E4E3C.90805@viscovery.net>
Hi,
On Thu, 29 May 2008, Johannes Sixt wrote:
Show 12 quoted lines
> 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.
I think that the standard methods, namely checking by hook, should be good enough.
Ciao, Dscho