From: Matthieu Moy Subject: Re: [BUG] git gui blame: Show History Context broken since 29e5573d Date: Tue, 23 Feb 2010 07:40:16 +0100 Message-ID: References: <20100222223802.GA9898@book.hvoigt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Heiko Voigt , git , "Shawn O. Pearce" , Pat Thoyts To: Giuseppe Bilotta X-From: git-owner@vger.kernel.org Tue Feb 23 07:41:15 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NjoRc-0006wX-SY for gcvg-git-2@lo.gmane.org; Tue, 23 Feb 2010 07:40:33 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751422Ab0BWGk2 (ORCPT ); Tue, 23 Feb 2010 01:40:28 -0500 Received: from mx1.imag.fr ([129.88.30.5]:60430 "EHLO shiva.imag.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751016Ab0BWGk1 (ORCPT ); Tue, 23 Feb 2010 01:40:27 -0500 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by shiva.imag.fr (8.13.8/8.13.8) with ESMTP id o1N6bsUa012610 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Tue, 23 Feb 2010 07:37:54 +0100 Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtp (Exim 4.69) (envelope-from ) id 1NjoRN-0002HL-7d; Tue, 23 Feb 2010 07:40:17 +0100 In-Reply-To: (Giuseppe Bilotta's message of "Tue\, 23 Feb 2010 00\:29\:03 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.1.91 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (shiva.imag.fr [129.88.30.5]); Tue, 23 Feb 2010 07:37:55 +0100 (CET) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: [ Adding Pat Thoyts, author of the first patch, in Cc ] Giuseppe Bilotta writes: > On Mon, Feb 22, 2010 at 11:38 PM, Heiko Voigt wrote: >> On Mon, Feb 22, 2010 at 04:18:11PM +0100, Giuseppe Bilotta wrote: >>> On Mon, Feb 22, 2010 at 9:27 AM, Matthieu Moy >>> wrote: >>> > Hi, >>> > >>> > In "git gui blame", right-clicking on the left fringe and chosing >>> > "Show History Context" in the context-menu doesn't work for me in the >>> > latest git. It says: >>> > >>> > couldn't change working directory to "": no such file or directory >>> >>> Definitely my fault. _gitworktree was not being set up correctly when >>> support for bare repositories was enabled and the repo was not bare >>> (like in the blame case). Patch incoming, can you see if it does the >>> job for you? It seems to fix it here. [ patch available here : http://thread.gmane.org/gmane.comp.version-control.git/140688 ] >> Isn't this the same bug as this one fixes: >> >> http://article.gmane.org/gmane.comp.version-control.git/140288 It seems it is, yes. > I believe my fix to be more correct in this regard. Not familiar enought with the code to say which is the right one. -- Matthieu Moy http://www-verimag.imag.fr/~moy/