Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jRka2-0001cN-Le for mharc-grub-devel@gnu.org; Thu, 23 Apr 2020 18:44:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38676) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRka0-0001au-7v for grub-devel@gnu.org; Thu, 23 Apr 2020 18:44:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRkZy-0006Yi-Sj for grub-devel@gnu.org; Thu, 23 Apr 2020 18:44:23 -0400 Received: from mailout03.mx.bawue.net ([193.7.176.64]:42005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jRkZy-0006J3-8E for grub-devel@gnu.org; Thu, 23 Apr 2020 18:44:22 -0400 Received: from infty.fritz.box (p5B0825D9.dip0.t-ipconnect.de [91.8.37.217]) (Authenticated sender: pdim@bawue.de) by smtp.bawue.net (Postfix) with ESMTPSA id 5F0E320468; Fri, 24 Apr 2020 00:44:14 +0200 (CEST) From: Hans Ulrich Niedermann To: grub-devel@gnu.org Cc: Hans Ulrich Niedermann Subject: [PATCH 0/5] gitignore: Clean up most of the gitignore mess Date: Fri, 24 Apr 2020 00:43:46 +0200 Message-Id: <20200423224351.413371-1-hun@n-dimensional.de> X-Mailer: git-send-email 2.25.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanner: SAV Dynamic Interface 2.6.0, Engine: 3.77.1, SAV: 5.74 (4DC516D4) on relay01.mx.bawue.net using milter-sssp 0.1.0 X-Virus-Scan: Found to be clean. Received-SPF: pass client-ip=193.7.176.64; envelope-from=hun@n-dimensional.de; helo=mailout03.mx.bawue.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/23 18:44:17 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 193.7.176.64 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2020 22:44:24 -0000 Daniel Kiper has asked me to provide the following set of four patches: 1. Split patterns into two groups. 2. Alphabetically sort the patterns within each group. 3. Add / to patterns which should have one. 4. Add missing patterns. However, I found that there was one step missing on the way to an easily readable .gitignore file, so I have added that additional step: 1. Split patterns into two groups. 2. Alphabetically sort the patterns within each group. 2a. Add leading / to all existing slash patterns. 3. Add / to patterns which should have one. 4. Add missing patterns. Some of the remaining no-slash patterns (i.e. those matching anywhere in the directory tree) might work with a leading slash, but I could not research all of them (especially for old code and optionally built files), so I have left those for now. Hans Ulrich Niedermann (5): gitignore: Group patterns with and without slash gitignore: Sort both pattern groups alphabetically gitignore: Consistent leading slash is easier to read gitignore: Add leading slashes where appropriate gitignore: Add a few forgotten file patterns .gitignore | 458 +++++++++++++++++++++++++++++------------------------ 1 file changed, 247 insertions(+), 211 deletions(-) -- 2.25.3