Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1975824rwo; Thu, 3 Aug 2023 02:54:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlEvgxABh8oSgHGC9lBbp6zUBhFixUTDrC3RMl627lyAYVxGyp3m/+Od1h5jwtiE1/4DzhkS X-Received: by 2002:a05:6a00:2d94:b0:682:7d8a:f887 with SMTP id fb20-20020a056a002d9400b006827d8af887mr18946784pfb.30.1691056472460; Thu, 03 Aug 2023 02:54:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691056472; cv=none; d=google.com; s=arc-20160816; b=o0KwEabsWgIyphNXjAt6xwXCkgZD7H5LGvqpydTc0Wb3nJw6VySsC3VZ7f7Pfrvvwe wIAZN6Txobz6TJrwy0OD0ID+NQzhGi2KNjePPXL5A9WVCkN0BS9KcVcNZ/StXWmWWebp mH1FvzgLNFUAuUkt+XMpewvHeUBhGGBjjGoUQ5BlM259YXELWIubHVRy+39tAXLw+O0D YOE0yU2Uzw/Kt0DHVZKwqQk2npmap2QobzkF/ECoCEaUEurNCDrr72BscM1oyesHf3O6 RE+TdQW4W7umn/oAVXxRyIejOTx5wVCn1+VoHr4YDTlwfwxdSDKpej6eIaYYcWIh/VnC qMsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=E+vK4CDRp2kRR+ETGhQNSzYi1bWA+u6yABASACTrU9k=; fh=k6wVRAtQUpyeaU2zMdoA1RveweKbRMzkmI7/0LA8BmM=; b=cNBkQQ4OC0qEpGMOa0YJP/Sohdz4Ugs8I5zogZctNmitKxuNPmbHPSb8A57XOnt0pW kAHoWztt2vJpLzZw+y4JzQheM4GfR/YSbvUehlTQNAsD8isjCtoXVIcW3xc6jAjMUgc0 Tl8S1yEG5bb12mK9ohvNyv6e62aYfdz54WzNkrfZ3hxJxA/TKo2NB7dTy97JKXgr/0EN KbkPOJNHBDrjWa5VyrXa4q/+DQxmM5xMvTZH5YKz92hyMJdpYqwFLdUxHhoZ+hNPmdut OYw0U+ta0zidkGRgTMeF/Y04H7YKSB3AqYaC1MrQmhoj4AkUghOreeT2jUror7o3Rjw4 iRww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=emuunKVY; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 185-20020a6301c2000000b00553854417d8si11917719pgb.617.2023.08.03.02.54.20; Thu, 03 Aug 2023 02:54:32 -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=@rasmusvillemoes.dk header.s=google header.b=emuunKVY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234953AbjHCJHa (ORCPT + 99 others); Thu, 3 Aug 2023 05:07:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234948AbjHCJH1 (ORCPT ); Thu, 3 Aug 2023 05:07:27 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B07AE7 for ; Thu, 3 Aug 2023 02:07:26 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-99c1c66876aso99100366b.2 for ; Thu, 03 Aug 2023 02:07:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; t=1691053644; x=1691658444; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=E+vK4CDRp2kRR+ETGhQNSzYi1bWA+u6yABASACTrU9k=; b=emuunKVYRmeCC0tRn2vc1hgX2tLz6iD+0kBQj7pqTEzjq+W7fuGuEu4LwszX6f41lE HRKYhJUb2J3HCzfeNaxPRX1dBur+wgf2ZsOWP/wUwJ2ItNcQjYNd8P6QHM5yppEr5yZl xEcG10wMNJSZo1czk+TbdCM+M7U7b5Mpc51S0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691053644; x=1691658444; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=E+vK4CDRp2kRR+ETGhQNSzYi1bWA+u6yABASACTrU9k=; b=Sev3CDRI4vVYzJ9BiLRptjutlby/A3WiBd7wHhVEs88dm2rBH+vV4HPO/x2meZug7Z YHJvzqoyogvdN37l0qNrTXyWATjxvKp/lV5yB5lEKnNs0a6oMI8tfP7U+srpSeASLDOS xoVQutk72ruUYpsjTda5p3kCGab6MQAVmnc64s3f6Cu8Zx6Ahk3KYSrl+N+KXPBasyCW 4J4b+63DuO/4NPWz8RVBdGJAlY/yLI8mkCXRwvdGHB7Z1Xm29mlKCxT5MJ5gB/dFSCSy H2dMm9ycqC13UbZklodNrY4fysFfBKoC7Mpx661oZcYedUF1bv1nf7nWY2a8loRLlYKq IeDg== X-Gm-Message-State: ABy/qLavYqwE/OvvvlizPAM5Owr2/nq4qnevNAQs4PvpildRpfSTndh5 rLQxILxv7r/Rv+sIm6UUmj5wtA== X-Received: by 2002:a17:907:a058:b0:987:5761:2868 with SMTP id gz24-20020a170907a05800b0098757612868mr6742281ejc.11.1691053644472; Thu, 03 Aug 2023 02:07:24 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id ga15-20020a170906b84f00b00997c1d125fasm10305033ejb.170.2023.08.03.02.07.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 02:07:24 -0700 (PDT) From: Rasmus Villemoes To: Jonathan Corbet Cc: Masahiro Yamada , Linus Torvalds , Rasmus Villemoes , workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Documentation: changes.rst: add entry for git Date: Thu, 3 Aug 2023 11:07:10 +0200 Message-Id: <20230803090711.2261876-1-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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 ====================== =============== ======================================== .. [#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=y, 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`. + System utilities **************** -- 2.37.2