From: Junio C Hamano Date: Tue, 20 Feb 2007 01:28:15 GMT Subject: Re: [PATCH] Teach 'git apply' to look at $GIT_DIR/config Message-ID: <7v7iud4nyo.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > 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.