Adapt 'git lg' to accept parameters.