From: Paul Mackerras Date: Sun, 13 Jan 2008 06:26:30 +0000 (+1100) Subject: gitk: Select head of current branch by default X-Git-Tag: v1.5.6-rc0~54^2~20 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3e76608d39302add89a8ba4a259eb1bf2583dc10?hp=3e76608d39302add89a8ba4a259eb1bf2583dc10 gitk: Select head of current branch by default Instead of selecting the first commit that appears, this makes gitk select the currently checked out head, if the user hasn't explicitly selected some other commit by the time it appears. If the head hasn't appeared by the time the graph is complete, then we select the first real commit. This applies both for graph updates and when the graph is being read in initially. Signed-off-by: Paul Mackerras ---