Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2468973rdb; Tue, 12 Sep 2023 02:56:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9gAywO4mmTv1juBkHIm0XVBrT0ritTpFXtZ0SB3PSFbkzHmiCn5szIuoV+9trfdaEHNCp X-Received: by 2002:a05:6808:343:b0:3ab:84f0:b490 with SMTP id j3-20020a056808034300b003ab84f0b490mr7577929oie.27.1694512600518; Tue, 12 Sep 2023 02:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694512600; cv=none; d=google.com; s=arc-20160816; b=ZZd1GkebKqaSS1qaMyG+0cAu4Tgcq7WzEJQq06a8r0va1YLT0cjgO3fWQ8sSWyid2F HBFWQKzIONn0htsrxUKR0HoJ5mXaUR4ySYOVstugVHQ2SQa/I+iOrfDpkcFPkVdQjOYX 2e4GVIrrqzAuZChMMF92gEuO5pPGaSs9RqMTIWw+MSok3MQufZpCAcbgVHC1tZ2jL4tG KoPlsb7fOmzOw3i3/corc26gsakd3vVfu/6e7GUoKwUTdQVmJdZowXckzRGcqyxYxtbW Z3yG+Q27NSY+0DVQ2FAMLI7pMoPxUB7KYF0fIedEkBrOtK91O2xGxSNS3+zX+U1cJ0ih wp4w== 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=mlSD8LobofgvbfvCkSNn5XreFoScL5N0hakORkL/97E=; fh=ygeQbguMigheNRdL+uUrHlEQyXEZmtPWm6MKth3sqJg=; b=lvD9yfCs88vRaUjUfG40Lug1p61MEFXAHvgYSUKY+82e39RZXaKYIKKlLzlBYMjw/H z2F+c8RM5pUn71EU7zGcJRxt5IR3smkvoQyxXGrGeSIWJnnqVWQpNCC2ReGK0DwSnrHR 3fITRSlEfE//TzO+YWix2Yr1g5GQXskeYGdfbYvU/tyeIJyaQWj0ktQiiF7oo5GZFi8F tG3xJjjRs//707Rcopcd9xXrQQnvpnopzN1Kzv+OpaZ3nvrcMQibe6iltyfymBIYCtyz IOiOtdKGuJkB9rOTEhxSbn/xDQS3KT4+vqqv/02Wn1BBtw/ZcUzNoQPVDuT0PNS7t2+U Q6xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=DWMwj0k7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id b75-20020a63344e000000b005775e2f160fsi4509280pga.667.2023.09.12.02.56.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 02:56:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=DWMwj0k7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 65A11802FA35; Mon, 11 Sep 2023 21:51:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231341AbjILEYZ (ORCPT + 99 others); Tue, 12 Sep 2023 00:24:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231276AbjILEYW (ORCPT ); Tue, 12 Sep 2023 00:24:22 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C3C0103; Mon, 11 Sep 2023 21:24:18 -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=mlSD8LobofgvbfvCkSNn5XreFoScL5N0hakORkL/97E=; b=DWMwj0k73e6PXT4ZO/Q7WHG45J Mu8T3KghkSHrJdFFZWDffXZdjFCSxKOjqdAaSPSy7sSNWdoVrghd08JApo4yTKThEsujeLZsa2bRq BVbL2MMAqITFNblzfO3wVyAykkAhsouv8WZKPfGwNwhE0cXz0U+hc8Ai6djSzEg4fmfk9ZPdwd7+s Y/cXeF4CjWI298uU+BCoLNne4Zu0lfp3A9ly3PEpMG5wLukLBmCV7GmT39Cqr0D6X7cjjheq656Fl j8UnNIRb8pdCXJ7BRvBfZnGUFEa+K4N+DG0jGAMnIM1kVkZ8dBO2TDMBHGDOUIru8c7c/M1l5K7iX jDlJUK2w==; Received: from [2601:1c2:980:9ec0::9fed] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qfuwZ-0025Px-3C; Tue, 12 Sep 2023 04:24:08 +0000 Message-ID: Date: Mon, 11 Sep 2023 21:24:04 -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 v2 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: <20230911234418.38154-2-leobras@redhat.com> From: Randy Dunlap In-Reply-To: <20230911234418.38154-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 (lipwig.vger.email [0.0.0.0]); Mon, 11 Sep 2023 21:51:10 -0700 (PDT) X-Spam-Status: No, score=-2.3 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email On 9/11/23 16:44, 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 LGTM. Thanks. Acked-by: Randy Dunlap > --- > > Please provide feedback on what else to add / remove / reorder here! > > Changes since RFCv1: > - Added Kconfig* (thanks Randy Dunlap!) > - Changed Kbuild to Kbuild* (improve matching) > > scripts/git.orderFile | 32 ++++++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > create mode 100644 scripts/git.orderFile > > diff --git a/scripts/git.orderFile b/scripts/git.orderFile > new file mode 100644 > index 000000000000..819f0a957fe3 > --- /dev/null > +++ b/scripts/git.orderFile > @@ -0,0 +1,32 @@ > +/* 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* > +Kconfig* > +Makefile* > +*.mak > + > +# semantic patches > +*.cocci > + > +# headers > +*.h > + > +# code > +*.c -- ~Randy