From patchwork Fri Aug 28 02:57:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elliott Mitchell X-Patchwork-Id: 11742107 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2374914F6 for ; Fri, 28 Aug 2020 02:59:41 +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 031A22080C for ; Fri, 28 Aug 2020 02:59:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 031A22080C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=m5p.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 1kBUag-0003j8-TB; Fri, 28 Aug 2020 02:58:10 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kBUaf-0003j3-QC for xen-devel@lists.xenproject.org; Fri, 28 Aug 2020 02:58:09 +0000 X-Inumbo-ID: 0f673ddb-2825-42c2-851e-6118865cf03a Received: from mailhost.m5p.com (unknown [74.104.188.4]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 0f673ddb-2825-42c2-851e-6118865cf03a; Fri, 28 Aug 2020 02:58:08 +0000 (UTC) Received: from m5p.com (mailhost.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:f7]) by mailhost.m5p.com (8.15.2/8.15.2) with ESMTPS id 07S2vox5025296 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 27 Aug 2020 22:57:56 -0400 (EDT) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.15.2/8.15.2/Submit) id 07S2vlWp025295; Thu, 27 Aug 2020 19:57:47 -0700 (PDT) (envelope-from ehem) Date: Thu, 27 Aug 2020 19:57:47 -0700 From: Elliott Mitchell To: xen-devel@lists.xenproject.org Cc: Andrew Cooper , George Dunlap , Ian Jackson , Jan Beulich , Julien Grall , Konrad Rzeszutek Wilk , Stefano Stabellini , Wei Liu , Doug Goldstein , Daniel De Graaf Subject: [PATCH] gitignore: Move ignores from global to subdirectories Message-ID: <20200828025747.GA25246@mattapan.m5p.com> MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=0.0 required=10.0 tests=KHOP_HELO_FCRDNS autolearn=unavailable autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mattapan.m5p.com 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" Subdirectories which have .gitignore files should not be referenced in the global .gitignore files. Move several lines to appropriate subdirs. Signed-off-by: Elliott Mitchell --- Hopefully the commit message covers it. When moved to the subdirectories I'm using "./" as otherwise any file sharing the name in a deeper subdirectory would be subject to the match. --- .gitignore | 29 ----------------------------- tools/misc/.gitignore | 22 +++++++++++++++++++++- xen/tools/kconfig/.gitignore | 6 ++++++ xen/xsm/flask/.gitignore | 8 +++++++- 4 files changed, 34 insertions(+), 31 deletions(-) diff --git a/.gitignore b/.gitignore index bb0fb64d32..c8529bc858 100644 --- a/.gitignore +++ b/.gitignore @@ -201,21 +201,6 @@ tools/libxl/ssdt* tools/libxl/testenum tools/libxl/testenum.c tools/libxl/tmp.* -tools/misc/cpuperf/cpuperf-perfcntr -tools/misc/cpuperf/cpuperf-xen -tools/misc/xc_shadow -tools/misc/xen_cpuperf -tools/misc/xen-cpuid -tools/misc/xen-detect -tools/misc/xen-diag -tools/misc/xen-tmem-list-parse -tools/misc/xen-livepatch -tools/misc/xenperf -tools/misc/xenpm -tools/misc/xen-hvmctx -tools/misc/xenlockprof -tools/misc/lowmemd -tools/misc/xencov tools/pkg-config/* tools/qemu-xen-build tools/xentrace/xenalyze @@ -312,16 +297,7 @@ xen/test/livepatch/xen_bye_world.livepatch xen/test/livepatch/xen_hello_world.livepatch xen/test/livepatch/xen_nop.livepatch xen/test/livepatch/xen_replace_world.livepatch -xen/tools/kconfig/.tmp_gtkcheck -xen/tools/kconfig/.tmp_qtcheck xen/tools/symbols -xen/xsm/flask/include/av_perm_to_string.h -xen/xsm/flask/include/av_permissions.h -xen/xsm/flask/include/class_to_string.h -xen/xsm/flask/include/flask.h -xen/xsm/flask/include/initial_sid_to_string.h -xen/xsm/flask/policy.* -xen/xsm/flask/xenpolicy-* tools/flask/policy/policy.conf tools/flask/policy/xenpolicy-* xen/xen @@ -357,8 +333,6 @@ tools/include/xen-foreign/arm32.h tools/include/xen-foreign/arm64.h .git -tools/misc/xen-hptool -tools/misc/xen-mfndump tools/libs/toolcore/include/_*.h tools/libxc/_*.[ch] tools/libxl/_*.[ch] @@ -370,9 +344,6 @@ tools/libxl/test_timedereg tools/libxl/test_fdderegrace tools/firmware/etherboot/eb-roms.h tools/firmware/etherboot/gpxe-git-snapshot.tar.gz -tools/misc/xenwatchdogd -tools/misc/xen-hvmcrash -tools/misc/xen-lowmemd tools/libvchan/vchan-node[12] tools/ocaml/*/.ocamldep.make tools/ocaml/*/*.cm[ixao] diff --git a/tools/misc/.gitignore b/tools/misc/.gitignore index c5fe2cfccd..b561bb023e 100644 --- a/tools/misc/.gitignore +++ b/tools/misc/.gitignore @@ -1 +1,21 @@ -xen-ucode +./cpuperf/cpuperf-perfcntr +./cpuperf/cpuperf-xen +./lowmemd +./xc_shadow +./xen-cpuid +./xen-detect +./xen-diag +./xen-hptool +./xen-hvmcrash +./xen-hvmctx +./xen-livepatch +./xen-lowmemd +./xen-mfndump +./xen-tmem-list-parse +./xen-ucode +./xen_cpuperf +./xencov +./xenlockprof +./xenperf +./xenpm +./xenwatchdogd diff --git a/xen/tools/kconfig/.gitignore b/xen/tools/kconfig/.gitignore index ca38e983d6..69780c04cd 100644 --- a/xen/tools/kconfig/.gitignore +++ b/xen/tools/kconfig/.gitignore @@ -16,3 +16,9 @@ mconf nconf qconf gconf + +# +# temporary build tool checking files +# +./.tmp_gtkcheck +./.tmp_qtcheck diff --git a/xen/xsm/flask/.gitignore b/xen/xsm/flask/.gitignore index 024edbe0ba..b10754e646 100644 --- a/xen/xsm/flask/.gitignore +++ b/xen/xsm/flask/.gitignore @@ -1 +1,7 @@ -/policy.c +./include/av_perm_to_string.h +./include/av_permissions.h +./include/class_to_string.h +./include/flask.h +./include/initial_sid_to_string.h +./policy.* +./xenpolicy-*