Re: [PATCH 3/3] read_directory(): infrastructure for pathname character set conversion

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

 




On Thu, 14 May 2009, Aaron Cohen wrote:
> 
> Does this possibly allow using the magic "\\?\" prefix on windows to
> avoid file name length restrictions?

That would be the intention - eventually. The point being exactly that the 
'path' side can be done differently from the 'basename' part that git then 
uses internally.

However, the thing is not complete. As shown from the strace, almost all 
filesystem operations then end up using the 'git internal' name anyway. 
It's currently literally just the filesystem traversal itself that knows 
to separate the notion of 'internal pathname representation' from the 
filesystem accesses.

So right now, the only thing that uses the filesystem-specific stuff is 
the "opendir()" (and the lstat() in case the filesystem doesn't support 
d_type in the dirent).

		Kubys
--
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]