Re: Using make_ctags leaves tags files in git

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steve Chavez <steve(at)supabase(dot)io>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Using make_ctags leaves tags files in git
Date: 2023-05-15 01:25:53
Message-ID: 2035145.1684113953@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Steve Chavez <steve(at)supabase(dot)io> writes:
> In this case I just propose adding 'tags'. I believe it's reasonable to
> ignore these as they're produced by make_ctags.

Our policy on this is that the project's .gitignore files should ignore
files that are produced by our standard build scripts. Anything else
you should put in your personal ignore patterns (one way is to set
the core.excludesFile property in ~/.gitconfig). Otherwise it's very
very hard to argue which tools are privileged to get a project-wide
ignore entry. Personally, for example, I use emacs but not ctags,
so I'd put "*~" way ahead of "tags". But it's my responsibility to
ignore "*~", and I do.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2023-05-15 01:36:53 Re: 'converts internal representation to "..."' comment is confusing
Previous Message Peter Geoghegan 2023-05-15 01:06:29 Re: [PATCH] Clarify the behavior of the system when approaching XID wraparound