summaryrefslogtreecommitdiffstats
path: root/net/rfkill
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-05-23 12:14:27 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-05-27 04:01:51 +0900
commit630ff0faf84eac6448c851961d4865471a792160 (patch)
treee4db85f1bf319fb49d10daec3bc8d379e3c8cf2f /net/rfkill
parentffaf62a8050b5f7995083ee93526b57d8d79fec4 (diff)
downloadlinux-stable-630ff0faf84eac6448c851961d4865471a792160.tar.gz
linux-stable-630ff0faf84eac6448c851961d4865471a792160.tar.bz2
linux-stable-630ff0faf84eac6448c851961d4865471a792160.zip
scripts/setlocalversion: factor out 12-chars hash construction
Both of if and else parts append exactly 12 hex chars, but in different ways. Factor out the else part because we need to support it without relying on git-describe. Remove the --abbrev=12 option since we do not use the hash from git-describe anyway. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Nico Schottelius <nico-linuxsetlocalversion@schottelius.org>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions