Re: [PATCH] apply: refuse touching a file beyond symlink
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Jan 30, 2015, 09:04 UTC
- Message-ID
- <CAP8UFD0zourNU6oqxcORP=3x2oXmTa3xz+jicdWRLXBgN7QQtA@mail.gmail.com>
- In-Reply-To
- <xmqqa911e2ot.fsf_-_@gitster.dls.corp.google.com>
On Thu, Jan 29, 2015 at 9:45 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> > Instead, for any patch in the input that leaves a path (i.e. a non > deletion) in the result, we check all leading paths against interim > result and then either the index or the working tree. The interim > results of applying patches are kept track of by fn_table logic for > us already, so use it to fiture out if existing a symbolic link will
s/fiture/figure/ s/existing a symbolic link/an existing symbolic link/
> cause problems, if a new symbolic link that will cause problems will > appear, etc.