Re: [PATCH 2/2] add: refuse to add paths beyond repository boundaries

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

 



Jakub Narębski <jnareb@xxxxxxxxx> writes:

> Junio C Hamano wrote:
>> Jakub Narębski <jnareb@xxxxxxxxx> writes:
>> 
>>> W dniu 09.04.2013 19:34, Junio C Hamano pisze:
>>>
>>>> -	if (has_symlink_leading_path(path, len))
>>>> -		return error("'%s' is beyond a symbolic link", path);
>>>> +	if (path_outside_our_project(path, len))
>>>> +		return error("'%s' is outside our working tree", path);
>>>>  
>>>
>>> Don't we lose important information here?  Or we shouldn't care?
>> 
>> What important information is it?
>
> That the cause is symbolic link (or other git repository, in the future).

And in what way is it important?
--
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]