From: Junio C Hamano Subject: Re: [PATCH] Teach 'git apply' to look at $GIT_DIR/config Date: Sat, 17 Feb 2007 16:31:59 -0800 Message-ID: <7v64a0qpa8.fsf@assigned-by-dhcp.cox.net> References: <7vlkiwsepm.fsf@assigned-by-dhcp.cox.net> <7v8xewsd2j.fsf@assigned-by-dhcp.cox.net> <20070217232603.GB30839@coredump.intra.peff.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jeff King , git@vger.kernel.org To: Johannes Schindelin X-From: git-owner@vger.kernel.org Sun Feb 18 01:32:09 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HIZyI-0007cp-0X for gcvg-git@gmane.org; Sun, 18 Feb 2007 01:32:06 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2992894AbXBRAcD (ORCPT ); Sat, 17 Feb 2007 19:32:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965466AbXBRAcC (ORCPT ); Sat, 17 Feb 2007 19:32:02 -0500 Received: from fed1rmmtao103.cox.net ([68.230.241.43]:51528 "EHLO fed1rmmtao103.cox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965464AbXBRAcA (ORCPT ); Sat, 17 Feb 2007 19:32:00 -0500 Received: from fed1rmimpo01.cox.net ([70.169.32.71]) by fed1rmmtao103.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070218003201.MIOQ1349.fed1rmmtao103.cox.net@fed1rmimpo01.cox.net>; Sat, 17 Feb 2007 19:32:01 -0500 Received: from assigned-by-dhcp.cox.net ([68.5.247.80]) by fed1rmimpo01.cox.net with bizsmtp id QoXz1W00D1kojtg0000000; Sat, 17 Feb 2007 19:32:00 -0500 In-Reply-To: (Johannes Schindelin's message of "Sun, 18 Feb 2007 01:06:41 +0100 (CET)") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: 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.