gitk: Parse arbitrary commit-ish in SHA1 field