support/scripts/pkg-stats: simplify Git commit id retrieval
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 12 Sep 2019 16:55:22 +0000 (18:55 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 15 Sep 2019 14:10:22 +0000 (16:10 +0200)
commitffcd34af079d21f1430efa22faac034d68a3c3ca
treee37a43da0c60c11e3bf4b6b56a19564ff0a043d9
parenta014dc55d311e5aaf87655950f72b384c4be3368
support/scripts/pkg-stats: simplify Git commit id retrieval

As suggested by Baruch Siach, using "git rev-parse HEAD" is a lot
simpler than playing around with "git log" to just retrieve the commit
id corresponding to the current HEAD.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/scripts/pkg-stats