diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2016-06-05 20:45:25 +0200 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2016-07-09 13:41:28 +0200 |
commit | 1001b5d77c5dd7adc7bb2fcce8778364b88e5ea0 (patch) | |
tree | 93eda923c062a7dad69ba5e1b51256c0b786326d /scripts/redboot-script.pl | |
parent | 575be9d18259560b40039ee0e4bf6d6ce109fca6 (diff) | |
download | upstream-1001b5d77c5dd7adc7bb2fcce8778364b88e5ea0.tar.gz upstream-1001b5d77c5dd7adc7bb2fcce8778364b88e5ea0.tar.bz2 upstream-1001b5d77c5dd7adc7bb2fcce8778364b88e5ea0.zip |
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>
Diffstat (limited to 'scripts/redboot-script.pl')
0 files changed, 0 insertions, 0 deletions