git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gitk: 'show origin of this line' barfs if gitk run in subdir
@ 2008-12-03 20:51 Mark Burton
  2008-12-03 22:22 ` Mark Burton
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Burton @ 2008-12-03 20:51 UTC (permalink / raw)
  To: Git Mailing List; +Cc: Paul Mackerras


Hi,

I was just trying out the new gitk feature that shows you the origin of a
selected line in the diff pane and found that it doesn't work right if
gitk is not started in the top-level work directory - i.e. if you are
in a subdir it pops up an error message of this form:

Error running git blame: fatal: no such path $path in $sha1

I guess it needs something like subdir-depth number of ../ prepended to
the front of the pathname to make the blame succeed.

I could try and fix this but I am sure that others who understand
the sources of gitk/git-blame/git can do it much quicker than me.

Cheers,

Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-06 10:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-03 20:51 gitk: 'show origin of this line' barfs if gitk run in subdir Mark Burton
2008-12-03 22:22 ` Mark Burton
2008-12-06 10:56   ` Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).