From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: stuchalin.d@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16042: incorrect .gitignore file
Date: Sat, 5 Oct 2019 09:34:02 -0700
Message-ID: <20191005163402.cotdvskqglhar3wn@alap3.anarazel.de> (raw)
In-Reply-To: <8877.1570292881@sss.pgh.pa.us>
References: <16042-c174ee692ac21cbd@postgresql.org>
<8877.1570292881@sss.pgh.pa.us>
Hi,
On 2019-10-05 12:28:01 -0400, Tom Lane wrote:
> PG Bug reporting form <noreply@postgresql.org> writes:
> > The source codes contain the file src/bin/pg_waldump/.gitignore
> > This file contains the line /*desc.c
> > This line does not give the correct commit file rmgrdesc.c from this
> > directory to the "my" git repository.
>
> Yeah, somebody was being overly lazy there. I cleaned it up.
Seems like adding a !rmgrdesc.c pattern would have a been easier?
• An optional prefix "!" which negates the pattern; any matching file excluded by a previous pattern will become
included again. It is not possible to re-include a file if a parent directory of that file is excluded. Git
doesn’t list excluded directories for performance reasons, so any patterns on contained files have no effect, no
matter where they are defined. Put a backslash ("\") in front of the first "!" for patterns that begin with a
literal "!", for example, "\!important!.txt".
Greetings,
Andres Freund
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, stuchalin.d@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16042: incorrect .gitignore file
In-Reply-To: <20191005163402.cotdvskqglhar3wn@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox