[PATCH] init/Kconfig: fix LOCALVERSION_AUTO help text

Rasmus Villemoes posted 1 patch 2 years, 8 months ago
init/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] init/Kconfig: fix LOCALVERSION_AUTO help text
Posted by Rasmus Villemoes 2 years, 8 months ago
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 <linux@rasmusvillemoes.dk>
---
 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
Re: [PATCH] init/Kconfig: fix LOCALVERSION_AUTO help text
Posted by Masahiro Yamada 2 years, 8 months ago
On Wed, Jan 11, 2023 at 6:38 PM Rasmus Villemoes
<linux@rasmusvillemoes.dk> 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 <linux@rasmusvillemoes.dk>
> ---



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