scripts/getver.sh: avoid use of git rev-list --count
authorJonas Gorski <jonas.gorski@gmail.com>
Sat, 9 Jul 2016 13:01:58 +0000 (15:01 +0200)
committerJonas Gorski <jonas.gorski@gmail.com>
Sat, 9 Jul 2016 13:08:46 +0000 (15:08 +0200)
commitf1765277bacbea47a45ed913ca8fa043e9f71393
tree19e987e702e9078e474b25c8d0318af21c61e5d5
parenteae812ddb6cc6edfd253711ebb2250c32c599692
scripts/getver.sh: avoid use of git rev-list --count

This is not a valid option in older git version, used in e.g. RHEL6.

Reported-by: Steven Haigh <netwiz@crc.id.au>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
scripts/getver.sh