scripts/getver.sh: append short git hash based on upstream commit
authorMagnus Kroken <mkroken@gmail.com>
Sat, 14 Jan 2017 21:34:01 +0000 (22:34 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 1 Feb 2017 16:48:45 +0000 (17:48 +0100)
commit289f2a8ce36caff6c9ec65585b397f64ffd0f244
treebb605a2b856d7de99190c33030339d462738d56f
parent70973dd30d29c9d7e4402578da1d36e05e3d142d
scripts/getver.sh: append short git hash based on upstream commit

The short git hash suffix printed by getver.sh is taken from the
latest local commit, change this to use the hash from latest
upstream commit if available. This is considered the intended
behavior based on commit message a642a11faca87e2a7bddc1fadb54253e2fc26e84,
introducing getver.sh.

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
scripts/getver.sh