Steal some stuff from @sjl.
Don't jump to last position of file for git* files.