From: Junio C Hamano Date: Sun, 18 Feb 2007 00:31:59 GMT Subject: Re: [PATCH] Teach 'git apply' to look at $GIT_DIR/config Message-ID: <7v64a0qpa8.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: > ... However, I suspect you have to 'cd' back to prefix, or else > the patch gets applied in the repo root, right? (Disclaimer: I did not > read the patch.) Actually, not cd-ing up was a bug, since git diff is always relative to root. The behaviour to apply the same file was inconsistent between with --index and without as far as I can tell.