Re: [PATCH 2/2] add: refuse to add paths beyond repository boundaries
- From
Jakub Narębski <jnareb@gmail.com>
- Date
- Apr 9, 2013, 18:32 UTC
- Message-ID
- <51645EC6.407@gmail.com>
- In-Reply-To
- <7vvc7vsj4p.fsf@alter.siamese.dyndns.org>
W dniu 09.04.2013 19:34, Junio C Hamano pisze:
Show 5 quoted lines
> - 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?
-- Jakub Narębski