Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2365139rdb; Mon, 11 Sep 2023 22:14:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3fBQZgIXzxNss/fxpjT30E0LR2i2GB5LzbCUcGpOPniR1MO+qVvcq9uhV2BzUpBx50kFL X-Received: by 2002:a17:90b:4b91:b0:268:6060:c184 with SMTP id lr17-20020a17090b4b9100b002686060c184mr8618693pjb.45.1694495689050; Mon, 11 Sep 2023 22:14:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694495689; cv=none; d=google.com; s=arc-20160816; b=uClx8UO+qaQLHAvMST+4cFLqIDNNW36pg/+ewDgRdalEh3xxwl6fE/TPFe0T6UEbap 7IPAnVcfgG09g6orEHY2Y24PH0xbWN6p2Feod7TILAzrJFf2JpVyWKgP6ok/vjoq5Ee7 Be2O1JRGvl7fVjEYcg0QVaFTZVPnZWAjCKsQ7hvjKk3ySWl7tk7D00BeAX8pnRm+IkVx Fm7xW5rAg5HMlKldrF17e/yrpbJMFLMohb3Zki1GGSWKqyuJ2k4JUlau579lwTwKaBRE 577vSvFzWG6O8O0tvnpynjUlP0d1FWJ08o8DRFTmT0Ww+3DQO+7Qc34kpYHEKHWA1hJE YwuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=o91i0BrRYW6i4ggXpHFxM6+k8TqRwA2kmbfi7bWB11I=; fh=ygeQbguMigheNRdL+uUrHlEQyXEZmtPWm6MKth3sqJg=; b=X/dnONJ8WOhzWej7LKCdUDq7TM6SLWevoc2fkxu6Rjm7EFQWATldsBEmRuolpIaSuq pbxk/BUj+wH96GZJTKYpSvTbTjbzFBn/SxMcOhuezgcvs04iub3kX6iKFUWkqUt9XmHf mby8W4UvoEWFGpGA46sy1lRCzPi5LEXGGGU7R768cLAbeAXo9R82ruU7ojfDd2ZTtx6J WrEI5bGu0T1T5O45rqeJKPR9Uygq88c7pyOjbBaPxVC9qFOshL5BwWbRFZEdwfu8sh6n V4YjSU+UcTLyV0BxM6HMfj3I59qom2X+jTCzpfu4t6qoU5QjXEmdRd9NpZGyKyZegn6p K71w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=jtOtBkVi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id i9-20020a17090a2ac900b00262c7b59f4esi8875339pjg.188.2023.09.11.22.14.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 22:14:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=jtOtBkVi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7AAB580A53C4; Mon, 11 Sep 2023 21:40:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236554AbjILCUf (ORCPT + 99 others); Mon, 11 Sep 2023 22:20:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237363AbjILCUQ (ORCPT ); Mon, 11 Sep 2023 22:20:16 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 244B7141938; Mon, 11 Sep 2023 18:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=o91i0BrRYW6i4ggXpHFxM6+k8TqRwA2kmbfi7bWB11I=; b=jtOtBkVi85VfoTYtK70HkFQRhV 7n1exiuutzIDGv0/lTYyDrXxLtRiyFs8vVVQiPwvxfGaHKcUS5fwsX/80Lm6JEH8l4+uWkSQYHUsS f/TLIAunPWJqd2nMjW2U4mbs3tL7bIi1bCXAnBtel9fmVehJDx0/8xZF8xtdzqvOXt7XDKQoXdVUT NNWBdJHbG1Rc+uGGzV17Xp15A1LuIAjVfvT2hiW8XHgn/lvlEjQyqF/NLy1OHl5SUmX8QH1KsBZ/e YQpQBAYQGc1C3qON0ke0vT+ov5P/V2dHPc73RvV+WTvSiVzv9wMXgCPdFJADLBU4ZDfrYvsJteYfx I0O2cwjg==; Received: from [2601:1c2:980:9ec0::9fed] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qfp2e-001SmM-1a; Mon, 11 Sep 2023 22:06:00 +0000 Message-ID: <85563fd1-b9c1-60a9-24bc-4e5f7ee3bea4@infradead.org> Date: Mon, 11 Sep 2023 15:05:56 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [RFC PATCH 1/1] scripts: Introduce a default git.orderFile Content-Language: en-US To: Leonardo Bras , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Mauro Carvalho Chehab Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org References: <20230911193752.27642-2-leobras@redhat.com> From: Randy Dunlap In-Reply-To: <20230911193752.27642-2-leobras@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 11 Sep 2023 21:40:49 -0700 (PDT) X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email On 9/11/23 12:37, Leonardo Bras wrote: > When reviewing patches, it looks much nicer to have some changes shown > before others, which allow better understanding of the patch before the > the .c files reviewing. > > Introduce a default git.orderFile, in order to help developers getting the > best ordering easier. > > Signed-off-by: Leonardo Bras > --- > > Please provide feedback on what else to add / remove / reorder here! > > scripts/git.orderFile | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > create mode 100644 scripts/git.orderFile > > diff --git a/scripts/git.orderFile b/scripts/git.orderFile > new file mode 100644 > index 000000000000..3434028be2f2 > --- /dev/null > +++ b/scripts/git.orderFile > @@ -0,0 +1,31 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > + > +# order file for git, to produce patches which are easier to review > +# by diffing the important stuff like header changes first. > +# > +# one-off usage: > +# git diff -O scripts/git.orderfile ... > +# > +# add to git config: > +# git config diff.orderFile scripts/git.orderfile > +# > + > +MAINTAINERS > + > +# Documentation > +Documentation/* > +*.rst > + > +# build system > +Kbuild > +Makefile* > +*.mak Can we have Kconfig* here also? thanks. > + > +# semantic patches > +*.cocci > + > +# headers > +*.h > + > +# code > +*.c -- ~Randy