init/Kconfig: fix LOCALVERSION_AUTO help text

Message ID 20230111093822.2934184-1-linux@rasmusvillemoes.dk
State New
Headers
Series init/Kconfig: fix LOCALVERSION_AUTO help text |

Commit Message

Rasmus Villemoes Jan. 11, 2023, 9:38 a.m. UTC
  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(-)
  

Comments

Masahiro Yamada Jan. 11, 2023, 11:42 a.m. UTC | #1
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
>
  

Patch

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