gitk: Handle detached heads better
commitc11ff120f359bd7bd79c425135f85e1dca5ae252
authorPaul Mackerras <paulus@samba.org>
Mon, 26 May 2008 00:11:33 +0000 (26 10:11 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 26 May 2008 00:11:33 +0000 (26 10:11 +1000)
tree0fb6f2c24c5992c108c94951eb1e35cc5aeab391
parenta977953326b5bc9556f2648a7327c623e676aaca
gitk: Handle detached heads better

This draws the currently checked-out head with a yellow circle, as
suggested by Linus Torvalds, and fixes various places in the code
where we assumed that the current head always had a branch.  Now we
can display the fake commits for local changes on a detached head.

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk