From patchwork Mon Apr 29 14:45:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 163038 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp1975066ill; Mon, 29 Apr 2019 07:46:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJbQDmlnWY02WPhLBZVY6ViW0Eo17J46VBSOVNmmV/2tqhu+6PkFHfjw//mo+hBktiwVnS X-Received: by 2002:a63:f24f:: with SMTP id d15mr59659632pgk.410.1556549177997; Mon, 29 Apr 2019 07:46:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556549177; cv=none; d=google.com; s=arc-20160816; b=PcgDhT8qssoGSBvRrdhyhmMMF4eEJIhc2UFSi5AN+W7kBnGiMtXzNeYiQVaZ24FO3m Kos/VgOn7+v3qZkYrdT3NQgMQ1E1Suzswzht8NfkEsLCYj/CZKSlWHvFCDhLKUwaA9Pj 5CivBpWXakiC93R/yEbyDtVJiMEw2BtYQINdFFgDQyAmlGK+SG7a1VaG9i7CIe2mzDBl DPKCnwa9qHyvBsiXL+v7/l/XPixP+gZbWoHDidJJIJ4gvapjSuwVIF50jK0zuVh7DOxc 1ASFyEHxofOgVBac77LRFpMB0lahGvPM2e/RQnCf4d0qazPUGLw2PkJOz2LiLifHj+Np IVcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=KazEk9hxi8U+torRKasXD0v/5Dw35CGY2jNpa95zJ0k=; b=GoTJCCE0uWKk42/kZ20+gjAMsWUP+Ts67B74ChNk1zauWQYmNsqgOHmTmJz0N1imFR +3ccoCXIYOzTsk3pDSTCyiB48JABRFQPyC01KqFlkRnVVc/IIuzpb10rwHUF6lQFEggH JwJ9mZ72h5M40GpGM/xOM7mXjpXNt7YqkfqAoWAGXhBIz0Uo4w9ui71nt5Q2mvXgRMu3 DadooGwv6KdpGK5EXjuvzgsXwpv9mFdziZGPnL0Gb1C/N6VAn6gA8BKt8ZzeJ9li4EMz 5/tRmP2LfutVWJSzVV/qJoVw+ESlNnwZbb7LI6IthsbeAeb/9eMm4Wf7budNrBlrDndn pXaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="x3p/1yoT"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l82si182356pfi.34.2019.04.29.07.46.17; Mon, 29 Apr 2019 07:46:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="x3p/1yoT"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728396AbfD2OqQ (ORCPT + 30 others); Mon, 29 Apr 2019 10:46:16 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:52947 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728319AbfD2OqP (ORCPT ); Mon, 29 Apr 2019 10:46:15 -0400 Received: from grover.flets-west.jp (softbank126125154137.bbtec.net [126.125.154.137]) (authenticated) by conuserg-08.nifty.com with ESMTP id x3TEjcf1013725; Mon, 29 Apr 2019 23:45:38 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x3TEjcf1013725 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1556549139; bh=KazEk9hxi8U+torRKasXD0v/5Dw35CGY2jNpa95zJ0k=; h=From:To:Cc:Subject:Date:From; b=x3p/1yoTt1qfBJ8BtWa/94gnwhth+mOGtXYdZrowO8QhSTpN7y82EP7/u3zdrRv79 b4eqIxKtVy9ER/h7dUGxDCT+7U8Rc8dVwzL9l0yvpAsyqRHhs9irkjuoUiWHK2peHz ElHU7+A7RnA+O+EJaHNTwi3ajpDNSFOGWFtu8QX6i5UQdh1j0YDCupXuiB6S/2IcY7 s5IhzdeztEupu1nWn4LcYWSh2B6d8p3yDWgVzjXfW2sICRxxtfxi3lSFMzICQyMxrj 8yshP3fcBlqwU23KKddnq6cQxFvkt7kdn6VObZDd65LvV6VwTEFoCgjcxIDb0+FShJ U7JRKPlkDHkAw== X-Nifty-SrcIP: [126.125.154.137] From: Masahiro Yamada To: "Rafael J . Wysocki" , Len Brown , linux-acpi@vger.kernel.org Cc: Masahiro Yamada , Robert Moore , linux-kernel@vger.kernel.org, Erik Schmauss , devel@acpica.org Subject: [PATCH] tools/power/acpi: exclude tools/* from .gitignore pattern Date: Mon, 29 Apr 2019 23:45:06 +0900 Message-Id: <1556549106-16119-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tools/power/acpi/.gitignore has the following entries: acpidbg acpidump ec They are intended to ignore the following build artifacts: tools/power/acpi/acpidbg tools/power/acpi/acpidump tools/power/acpi/ec However, those .gitignore entries are effective not only for the current directory, but also for any sub-directories. So, the following directories are also considered to be ignored: tools/power/acpi/tools/acpidbg tools/power/acpi/tools/acpidump tools/power/acpi/tools/ec They are obviously version-controlled, so should be excluded from the .gitignore patterns. You can fix it by prefixing the patterns with '/', which means they are only effective in the current directory. I also prefixed the "include" consistently. IMHO, '/' prefixing is safer when you intend to ignore specific files or directories. Signed-off-by: Masahiro Yamada --- tools/power/acpi/.gitignore | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.7.4 diff --git a/tools/power/acpi/.gitignore b/tools/power/acpi/.gitignore index cba3d99..f698a0e 100644 --- a/tools/power/acpi/.gitignore +++ b/tools/power/acpi/.gitignore @@ -1,4 +1,4 @@ -acpidbg -acpidump -ec -include +/acpidbg +/acpidump +/ec +/include/