4

When I do gitk --follow <filename>, the left pane lists all the commits of the given filename.

If I click one of those commits, the bottom-left pane (just below the commit/branch/tag list), shows a diff between this selected commit and the previous one.

Is there a way to tell gitk to show a diff between this selected commit and the oldest commit? (i.e. the one at the bottom of the list)

WinWin
  • 7,493
  • 10
  • 44
  • 53

1 Answers1

9

Select the new commit, then right-click the old commit (without selecting it first) and choose "Diff this -> selected".

nandhp
  • 4,680
  • 2
  • 30
  • 42