Re: [PATCH] Teach 'git apply' to look at $GIT_DIR/config
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 8 quoted lines
> On Mon, 19 Feb 2007, Junio C Hamano wrote:
>>
>> Hmm. I am puzzled. Are you suggesting to change behaviour of
>> "git apply" with --index?
>
> Yeah. Or at least _verify_ that the patch is within the subdirectory we
> are in right now. Right now, we do neither, and it will actually change
> files outside that subdirectory, which I think is a bit dangerous.
I think use_patch() has always took care of that.