Code

git-gui: Better positioning in Blame Parent Commit
authorAlexander Gavrilov <angavrilov@gmail.com>
Sat, 23 Aug 2008 08:31:35 +0000 (12:31 +0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 25 Aug 2008 05:00:01 +0000 (22:00 -0700)
commit823f7cf81dbed741c3a645913d7461e9bc04e0d2
treed70765509a50406391c5aab38b551d0dcab6cbe0
parent80fd76bd58070fe9615baf365abf2ff82276e50c
git-gui: Better positioning in Blame Parent Commit

Invoke diff-tree between the commit and its parent,
and use the hunks to fix the target line number,
accounting for addition and removal of lines.

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/blame.tcl