scripts/getver.sh: silence rev-list errors
authorPetr Štetiar <ynezz@true.cz>
Tue, 3 Mar 2020 11:47:07 +0000 (12:47 +0100)
committerPetr Štetiar <ynezz@true.cz>
Mon, 2 Nov 2020 07:39:49 +0000 (08:39 +0100)
commitf52aee0455f6ce77b16a78ddf17f1ef49ddc2380
tree252d03d1d02c84466ed270aa833a1df466463777
parente48aac89a223906c3afcf59d15fcf138cc5f6c5e
scripts/getver.sh: silence rev-list errors

Shallow copies are quite common on CI platforms nowadays, making REBOOT
tag unavailable, thus producing following confusing errors in the build
logs:

 fatal: Invalid revision range ee53a240ac902dc83209008a2671e7fdcf55957a..HEAD
 fatal: Invalid revision range ee53a240ac902dc83209008a2671e7fdcf55957a..0493d57e04774d47921a7d2014b567455d5dc16b

Signed-off-by: Petr Štetiar <ynezz@true.cz>
scripts/getver.sh