Re: [PATCH 6/5] NUL hack to create_file()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux