Re: PATH_MAX (Re: [PATCH] system_path: use a static buffer)

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

 



On Fri, Mar 18, 2011 at 6:38 PM, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
> It is indeed possible to have paths with length longer than that. ÂThe
> way to support that is to use relative paths wherever possible, which
> does sound to me like an interesting long-term goal (mostly because I
> suspect the result would be easier to read and, especially, to reason
> about with respect to race conditions).

A shorter-term goal is to set a path limit config on trees inside the
repo, so people on Linux won't accidentally make paths longer than the
limit their Windows fellows have. I think it would be easy to do the
check around index (old trees in repo are left alone, inspecting
history does not have such a limit).
-- 
Duy
--
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]