Re: [PATCH] Teach 'git apply' to look at $GIT_DIR/config
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 18, 2007, 00:31 UTC
- Message-ID
- <7v64a0qpa8.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0702180105000.22628@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> 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.