{"thread":{"id":"16058","subject":"New gitk feature - show where a line came from","startedAt":"2008-10-27T11:47:55Z","lastAt":"2008-10-27T11:47:55Z","messageCount":1,"participants":["Paul Mackerras"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"94044","messageId":"18693.43627.381786.934151@cargo.ozlabs.ibm.com","threadId":"16058","inReplyTo":null,"subject":"New gitk feature - show where a line came from","fromName":"Paul Mackerras","fromEmail":"paulus@samba.org","sentAt":"2008-10-27T11:47:55Z","receivedAt":"2008-10-27T11:47:55Z","isPatch":false,"sender":{"key":"paulus@samba.org","avatar":"https://avatars.githubusercontent.com/u/1606439?v=4"},"body":"I have just pushed out some commits for gitk which add a feature that\nI have wanted for a long time - a way to point at a line in gitk and\nsay \"where did that come from\" and have gitk show you the answer.  You\ncan now right-click on a line in the diff/file display pane (bottom\nleft) and select \"Show origin of this line\".  Gitk will run a one-line\ngit blame on that line, and once the answer comes back, it will select\nthe commit that added that line, highlight the line with a light-blue\nbackground, and scroll so that the line is visible.  This works both\nwhen displaying diffs and when displaying files.\n\nThere are still some minor rough edges, but I'd be interested in\nhearing whether it's useful to people, or if people have problems\nusing it.\n\nThis builds on the work done by Alexander Gavrilov, who added the\ncontext menu for the diff/file display pane and a menu item to start\nan external git gui blame on a file.\n\nPaul.\n"}]}