2023-01-11 09:47:39

by Rasmus Villemoes

[permalink] [raw]
Subject: [PATCH] init/Kconfig: fix LOCALVERSION_AUTO help text

It was never guaranteed to be exactly eight, but since commit
548b8b5168c9 ("scripts/setlocalversion: make git describe output more
reliable"), it has been exactly 12.

Signed-off-by: Rasmus Villemoes <[email protected]>
---
init/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init/Kconfig b/init/Kconfig
index 0958846b005e..015dbb63b61a 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -204,7 +204,7 @@ config LOCALVERSION_AUTO
appended after any matching localversion* files, and after the value
set in CONFIG_LOCALVERSION.

- (The actual string used here is the first eight characters produced
+ (The actual string used here is the first 12 characters produced
by running the command:

$ git rev-parse --verify HEAD
--
2.37.2


2023-01-11 12:34:38

by Masahiro Yamada

[permalink] [raw]
Subject: Re: [PATCH] init/Kconfig: fix LOCALVERSION_AUTO help text

On Wed, Jan 11, 2023 at 6:38 PM Rasmus Villemoes
<[email protected]> wrote:
>
> It was never guaranteed to be exactly eight, but since commit
> 548b8b5168c9 ("scripts/setlocalversion: make git describe output more
> reliable"), it has been exactly 12.
>
> Signed-off-by: Rasmus Villemoes <[email protected]>
> ---



Applied to linux-kbuild/fixes.
Thanks.



> init/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index 0958846b005e..015dbb63b61a 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -204,7 +204,7 @@ config LOCALVERSION_AUTO
> appended after any matching localversion* files, and after the value
> set in CONFIG_LOCALVERSION.
>
> - (The actual string used here is the first eight characters produced
> + (The actual string used here is the first 12 characters produced
> by running the command:
>
> $ git rev-parse --verify HEAD
> --
> 2.37.2
>


--
Best Regards
Masahiro Yamada