gitstats: Don't look before we leap in getting the commit diff