Jonas Gorski 1001b5d77c scripts/getver.sh: allow conversion between git hash and revision
Add code allowing easy conversion between git commit ids and revisions.

Example:

$ ./scripts/getver.sh
r792
$ ./scripts/getver.sh r123
b7fc892eb56b52d25bc00578af9d1ee058dcf6b3
$ ./scrpts/getver.sh b7fc892eb56b52d25bc00578af9d1ee058dcf6b3
r123

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2016-07-09 13:41:28 +02:00
..
2016-03-24 22:40:13 +01:00
2016-03-24 22:40:13 +01:00
2015-11-02 18:12:45 +00:00
2015-11-02 18:12:45 +00:00
2015-10-07 10:51:18 +00:00
2016-05-28 09:14:55 +02:00
2013-03-07 17:32:29 +00:00
2016-03-24 22:40:13 +01:00
2016-03-24 22:40:13 +01:00