Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.6 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 443B1C433E6 for ; Tue, 1 Sep 2020 06:01:58 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1DB692098B for ; Tue, 1 Sep 2020 06:01:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1DB692098B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kCzMD-0004u2-JW; Tue, 01 Sep 2020 06:01:25 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kCzMC-0004tu-Mq for xen-devel@lists.xenproject.org; Tue, 01 Sep 2020 06:01:24 +0000 X-Inumbo-ID: d95880b7-273a-4f2e-a1cd-81759d97f892 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id d95880b7-273a-4f2e-a1cd-81759d97f892; Tue, 01 Sep 2020 06:01:23 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 9A5CAAF96; Tue, 1 Sep 2020 06:01:22 +0000 (UTC) Subject: Re: [PATCH] gitignore: Move ignores from global to subdirectories To: Elliott Mitchell Cc: xen-devel@lists.xenproject.org, Andrew Cooper , George Dunlap , Ian Jackson , Julien Grall , Konrad Rzeszutek Wilk , Stefano Stabellini , Wei Liu , Doug Goldstein , Daniel De Graaf References: <20200828025747.GA25246@mattapan.m5p.com> <20200831063748.GB1522@mattapan.m5p.com> <20200831225517.GA11156@mattapan.m5p.com> From: Jan Beulich Message-ID: <67853b32-6aab-378b-556f-a96cd8dd950d@suse.com> Date: Tue, 1 Sep 2020 08:01:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200831225517.GA11156@mattapan.m5p.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On 01.09.2020 00:55, Elliott Mitchell wrote: > On Mon, Aug 31, 2020 at 08:52:45AM +0200, Jan Beulich wrote: >> On 31.08.2020 08:37, Elliott Mitchell wrote: >>> Preferences in sorting? >> >> Alphabetical sorting is what we generally aim for here. > > Going into specific example since those best demonstrate what I > observed. > > Before this patch the top-level .gitignore included the lines: > @@ > -tools/misc/cpuperf/cpuperf-perfcntr > -tools/misc/cpuperf/cpuperf-xen > -tools/misc/xc_shadow > -tools/misc/xen_cpuperf > -tools/misc/xen-cpuid > @@ > -xen/xsm/flask/policy.* > -xen/xsm/flask/xenpolicy-* > tools/flask/policy/policy.conf > tools/flask/policy/xenpolicy-* > xen/xen > @@ > > tools/misc/.gitignore had the single line: > xen-ucode > > xen/xsm/flask/.gitignore had the single line: > /policy.c > > > You'll note from the second batch, .gitignore isn't consistently sorted. I'm aware, and hence I said "aim for". In cases like this what we often do is adjust things incrementally, as lines get touched anyway. Of course if you want to clean it up all in one go ... Jan