dist: Run 'git log' instead of custom script.

It's useful to see the complete SHA1's since that is how we refer to
fixes in Bugzilla.