Re: gitk: 'show origin of this line' barfs if gitk run in subdir
- From
Paul Mackerras <paulus@samba.org>
- Date
- Dec 6, 2008, 10:56 UTC
- Message-ID
- <18746.23149.709046.770559@cargo.ozlabs.ibm.com>
- In-Reply-To
- <20081203222258.6db9b34e@crow>
Mark Burton writes:
> I think the same problem exists with the 'run git gui blame on this > line' feature. It doesn't work when gitk is started in a subdir of the > working tree but it does work when gitk is started in the top-level > directory.
I have checked in a fix into my gitk.git repository at git://git.kernel.org/pub/scm/gitk/gitk.git. However, there seems to be a bug in git gui blame; it gives a "list index out of range" error sometimes.
Shawn, to see an example of the error, get a current kernel tree and do:
$ cd arch/powerpc $ git gui blame --line=1183 2c5e76158fcea6e3b9536a74efa7b5e2e846d374 \ ../../net/sunrpc/svcsock.c
Paul.