Thread (61 messages) flat view 61 messages, 14 authors, 2016-06-15

Re: [ANNOUNCE] tig-0.14

From: Jonas Fonseca <hidden>
Date: 2016-06-15 22:46:07

On Fri, Feb 6, 2009 at 23:53, Jakub Narebski [off-list ref] wrote:
Jonas Fonseca [off-list ref] writes:
quoted
It should be possible to find the
original line number either by making git-blame also honor
--show-number for the --incremental output or by using the "porcelain"
version:

  git blame --show-number -L <line>,<line> <rev> <file>
Errr... you are wrong.  There are three line numbers when browsing
blame output.  Original line number, line number in _blamed_ commit
(shown with --show-number, --porcelain, --incremental), and line
number in _parent_ of blamed commit... which we don't know, and
which I don't think it is easy to find...
Yes, I was not aware of the original line number being there. Anyway,
tig now uses this to jump to the right line when the user requests to
show blame for specific commit.

-- 
Jonas Fonseca
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help