From: Johannes Schindelin Date: Thu, 29 May 2008 12:39:21 GMT Subject: Re: [PATCH 6/5] NUL hack to create_file() Message-ID: In-Reply-To: <483E4E3C.90805@viscovery.net> Hi, On Thu, 29 May 2008, Johannes Sixt wrote: > 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