Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp3315861rwo; Fri, 4 Aug 2023 03:01:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHR51Q13kMGHtiwRKq9ZeJnJBck22v2/TXuYwIWGDHWLIEx/zGpAYfTWguMeWfeL5FMmItH X-Received: by 2002:a17:907:77d6:b0:993:6382:6e34 with SMTP id kz22-20020a17090777d600b0099363826e34mr1140985ejc.72.1691143294129; Fri, 04 Aug 2023 03:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691143294; cv=none; d=google.com; s=arc-20160816; b=i3MnPz17rQwNBji2i7qA/lliMt4guNDs9uT0lJY5YA/HFKbewQ/06NvI0L/DN/zysY 6kRBabgfY+bQjg9C//2rtWBdLOAp6QCIUiO+1zXiAYkgYzZZRV6NmmG2wLtj899Y5TSM teaiS8d20Mw3quXcbusQbqt9rpP1EEd5VelvWvOZb6nDApJYnw5VWbfdi6wzoSUamLEZ fpdcmWAeQ7gCfI0BEwjWj3hfdFNeT2qA7iOZBr+7GbjWyYPV75S5nADiME9I6kG8CrP3 qSB34fT8JQrlkvrbg4scOkNFMRffSSGekz0jKBO6nrjWDeoVGl7T9/xqBIzn49H+3KMO 6shQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=tG0PIvoIKh4uLW5rsmCLD2L8XI5sPjpfSQvOmjjWTlA=; fh=1fVYxM580fZ41/W5HKNBFKgdg33Hbb3bIyk20G0n1G4=; b=s3whCxlaDM2/1YLRp/WoySVMcmfKg3O0C02l8/yShNo8sPIIuQLPVPcqNZAoQNckii +gwleVKCiqvtFUpa03DKk1oOfL6lVM/ZdjxEQZTbi3RZKSIcAImO9L9JgsBGxwcvCazL P9KqVZ8AQ0Jm2NiLxeM2Ybaro8iMLNquQCPAqTWtNzuHSu3YeaG56XHmUzNnPeDSAOck mnm1mOQIhs4A4k7k2th8i9LPiuEe0pb9JnuxZYznchk4CdwwopFCjlhBrL8e/P1HjXYY VycFsg2aHrufrQfaT/+dyR/5ZmaZ+Oq5MQxZmUe7KuHPgrOMKV6BpFLTGyrAYfi+YD80 h0Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mt+c3wcn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m21-20020a170906161500b009932528281asi1468852ejd.579.2023.08.04.03.01.06; Fri, 04 Aug 2023 03:01:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mt+c3wcn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230508AbjHDJmh (ORCPT + 99 others); Fri, 4 Aug 2023 05:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230519AbjHDJme (ORCPT ); Fri, 4 Aug 2023 05:42:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 006C430F8; Fri, 4 Aug 2023 02:42:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 919B561F79; Fri, 4 Aug 2023 09:42:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC527C433C8; Fri, 4 Aug 2023 09:42:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691142152; bh=LxB1A3SflD2/rcpnjLAWUeMaCaz16ieR3+UC//gBZww=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Mt+c3wcn70Zldr8Gdi39eM6ykm4zIjUy9QAm9lRpy+B4zzBGUHkvIDqixv/6ZAkIe sD1vuXJxW/NHCqb9t1Buwtd0L4Rbij3sjx0dYCqKT4hLmsTlhn7qJbDVcEC6uQD4Ih wxz8wKeQhHWbHbV5sBPjmxBAajbimujuBWXBWN7s6fTPgfLfHloWUwQz2HwmiPiR7D +6ea6qmHMLgumwzv6EJKI2yx+zWGy0vA4x5/6L2khmjSIxBUMaUDeDuj8rZIN5vzZB bmyz+j56wTIa1SabTxbx4RXnZMz+n2Amf8saWus1UoBHWplsL/Y/MUGR6EYg616DsS Scd+7/ArbQSmQ== Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-1bed90ee8b7so1147996fac.0; Fri, 04 Aug 2023 02:42:31 -0700 (PDT) X-Gm-Message-State: AOJu0Ywo5aq3EtUQnaWP6d8OJJpayGZgODukPJ6+zNelX/tvej+beePx r7W92phioq+dvHaLzx6zCBYQu7qrfS1DdGGITU4= X-Received: by 2002:a05:6870:4710:b0:1b3:8fed:c4a0 with SMTP id b16-20020a056870471000b001b38fedc4a0mr1076875oaq.1.1691142151121; Fri, 04 Aug 2023 02:42:31 -0700 (PDT) MIME-Version: 1.0 References: <20230803090711.2261876-1-linux@rasmusvillemoes.dk> <2023080302-theology-custody-670b@gregkh> In-Reply-To: <2023080302-theology-custody-670b@gregkh> From: Masahiro Yamada Date: Fri, 4 Aug 2023 18:41:54 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] Documentation: changes.rst: add entry for git To: Greg KH Cc: Rasmus Villemoes , Jonathan Corbet , Linus Torvalds , workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 3, 2023 at 7:19=E2=80=AFPM Greg KH = wrote: > > On Thu, Aug 03, 2023 at 11:07:10AM +0200, Rasmus Villemoes wrote: > > git is obviously used for development, directly and also > > indirectly (via checkpatch, get_maintainer and other helper > > scripts). But it is also invoked during the build to produce the > > `uname -r` string. > > > > It's useful to have some minimal git version one can expect people to > > use. For now, set a somewhat conservative minimum of 1.8.0, which is > > already more then ten years old. > > > > Signed-off-by: Rasmus Villemoes > > --- > > Documentation/process/changes.rst | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/Documentation/process/changes.rst b/Documentation/process/= changes.rst > > index 5561dae94f85..a82c619f4bb2 100644 > > --- a/Documentation/process/changes.rst > > +++ b/Documentation/process/changes.rst > > @@ -62,6 +62,7 @@ Sphinx\ [#f1]_ 1.7 sphinx-build = --version > > cpio any cpio --version > > GNU tar 1.28 tar --version > > gtags (optional) 6.6.5 gtags --version > > +git 1.8.0 git --version > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > > > .. [#f1] Sphinx is needed only to build the Kernel documentation > > @@ -189,6 +190,13 @@ The kernel build requires GNU GLOBAL version 6.6.5= or later to generate > > tag files through ``make gtags``. This is due to its use of the gtags > > ``-C (--directory)`` flag. > > > > +git > > +--- > > + > > +When building with CONFIG_LOCALVERSION_AUTO=3Dy, the build system uses > > +git to produce a version string of the form > > +6.4.6-00128-gd78b7f406397, which will be shown e.g. by running `uname = -r`. > > Isn't this optional? If git is not installed it just will not use git > to determine the local version. Right. Without git, the suffix "-00128-gd78b7f406397" is not appended, but you can build the kernel. > > So you should put "(optional)" above on the list of tools. > > And also, don't pick a specific version like this unless it is that way > for a reason. Why not pick a newer one? Or the last one that the local > version script can handle properly? CentOS 7 (plans to retire in 2024) unfortunately uses a ten-year-old git version. In CentOS 7, $ git --version git version 1.8.3.1 Tagger: Junio C Hamano Date: Mon Jun 10 12:34:56 2013 -0700 Git 1.8.3.1 If we are allowed to abandon conservative distros, I prefer git >=3D 2.14.0 That supports 'git status --no-optional-locks' --=20 Best Regards Masahiro Yamada