From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valters Jansons To: location@lists.ipfire.org Subject: Re: [PATCH 1/8] debian: Add all temporary files to Gitignore Date: Mon, 19 Apr 2021 16:48:12 +0300 Message-ID: In-Reply-To: <85231BA2-81AD-4E34-AD4E-427D267FE6E2@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5492607059448263060==" List-Id: --===============5492607059448263060== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 19, 2021 at 4:10 PM Michael Tremer wrote: > What is /*/ for? Why would we ignore any directory that is created in the r= oot directory. > > It feels like a bit much to me. As this is debian/.gitignore, then as a result all directories created in debian/ get ignored. From gitignore(5): "These patterns match relative to the location of the .gitignore file." The added exceptions to that are debian/patches/, debian/source/ and debian/tests/ as described in the commit message. This ensures that if a new package is added, it doesn't need to be manually added to the Gitignore. Similarly, if a package is removed, then it doesn't need to be removed from the Gitignore either. --Valters --===============5492607059448263060==--