Re: Using make_ctags leaves tags files in git

Поиск
Список
Период
Сортировка
От Steve Chavez
Тема Re: Using make_ctags leaves tags files in git
Дата
Msg-id CAGRrpzb1RUOan+ST=UUB-PXY-NDv0tZjiEpmwU_mk6iGVniZyA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Using make_ctags leaves tags files in git  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Using make_ctags leaves tags files in git  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello Michael,

On the previous patch:

- `.*.swp` was added, which I entirely agree shouldn't be in .gitignore as it's editor specific(despite me using vim).
- The discussion dabbled too much around the *.swp addition.

In this case I just propose adding 'tags'. I believe it's reasonable to ignore these as they're produced by make_ctags. 

Best regards,
Steve

On Sun, 14 May 2023 at 20:44, Michael Paquier <michael@paquier.xyz> wrote:
On Sun, May 14, 2023 at 06:13:21PM -0300, Steve Chavez wrote:
> I use postgres/src/tools/make_ctags and it works great. But it leaves the
> tags files ready to be committed in git. So, I've added 'tags' to
> .gitignore.

This has been proposed in the past, where no conclusion was reached
about whether this would be the best move (backup files from vim or
emacs are not ignored, either):
https://www.postgresql.org/message-id/CAFcNs+rG-DASXzHcecYKvAj+rmxi8CpMAgbpGpEK-mjC96F=Lg@mail.gmail.com

And there are global rules, as well.
--
Michael

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: check_GUC_init(wal_writer_flush_after) fails with non-default block size
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Allow pg_archivecleanup to remove backup history files