gitstats: Added commitdiffEqual functionality to the history module.