Code

gitk: Allow starting gui blame for a specific line
authorAlexander Gavrilov <angavrilov@gmail.com>
Fri, 24 Oct 2008 08:13:01 +0000 (12:13 +0400)
committerPaul Mackerras <paulus@samba.org>
Sun, 26 Oct 2008 11:03:40 +0000 (22:03 +1100)
commit7cdc3556d1cec11582ae2a018d4052767c02e1ef
tree99fa284cedd3ac52773b619ab72b25ffdc528154
parent2df6442f7dc0d6cd5636e6ac413d06f92eb04029
gitk: Allow starting gui blame for a specific line

This adds a context menu item to the diff viewer pane that calls git
gui blame, focusing it on the clicked line.  In case of combined
diffs, it also automatically deduces which parent is to be blamed.
Lines added by the diff are blamed on the current commit itself.

The context menu itself is added by this patch.  It would be possible
to add the commands from the flist menu to it.

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk