Code

gitk: Get rid of lookingforhead, use commitinterest instead
authorPaul Mackerras <paulus@samba.org>
Fri, 14 Sep 2007 23:33:39 +0000 (09:33 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 14 Sep 2007 23:33:39 +0000 (09:33 +1000)
commit3e6b893f33476e7969c7bd5b8914e8bcc62385e3
tree1b1b68d681ca477386999c7eb9169301ce575ca2
parentf56782aef4b3d7339461d8f12ff15f6258d9871d
gitk: Get rid of lookingforhead, use commitinterest instead

Now that we have a general-purpose way of taking some action when a
commit ID of interest is encountered, use that for triggering the
git diff-index process when we find the currently checked-out head,
rather than the special-purpose lookingforhead variable.

Also do the commitinterest processing in getcommitlines rather than
in showstuff.

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