diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2020-09-03 23:19:07 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-10-07 23:13:00 +0200 |
commit | 891022918d55b565b49b7ecafc4ebf8a66461a13 (patch) | |
tree | a9e49ca381ffd7ebf574b08b9b06dffdb039791d /target/linux/generic/backport-4.14/085-v4.16-0001-i2c-gpio-Enable-working-over-slow-can_sleep-GPIOs.patch | |
parent | 8076fb59ab1c4a07fc4c4ea40570b354ef5d8cc0 (diff) | |
download | upstream-891022918d55b565b49b7ecafc4ebf8a66461a13.tar.gz upstream-891022918d55b565b49b7ecafc4ebf8a66461a13.tar.bz2 upstream-891022918d55b565b49b7ecafc4ebf8a66461a13.zip |
scripts: getver.sh: fix version based on stable branch
When building from a local branch based off the "openwrt-19.07" branch,
version computation is wrong, for instance:
r10194+1004-c53f62b111
The number of local commits (1004 in this case) is wrong because it is
computed against master. As a result, it wrongly counts *all* commits
since the beginning of the openwrt-19.07 branch as local commits.
The fix is to compare to the openwrt-19.07 branch instead, which gives the
expected result such as:
r11192+6-8b0278a17e
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
[shorten commit title]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/generic/backport-4.14/085-v4.16-0001-i2c-gpio-Enable-working-over-slow-can_sleep-GPIOs.patch')
0 files changed, 0 insertions, 0 deletions