Don't restore pos for git commits.