Re: [PATCH] Add .idea to gitignore for JetBrains CLion

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: [PATCH] Add .idea to gitignore for JetBrains CLion
Дата
Msg-id 08AE3148-3BA1-41C3-B598-4401C58E0EBA@yesql.se
обсуждение исходный текст
Ответ на Re: [PATCH] Add .idea to gitignore for JetBrains CLion  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCH] Add .idea to gitignore for JetBrains CLion  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> On 4 Dec 2022, at 16:35, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> Sayyid Ali Sajjad Rizavi <sasrizavi@gmail.com> writes:
>> +**/.idea
> 
> Our policy is that the in-tree .gitignore files should only hide
> files that are build artifacts of standard build processes.
> Something like this belongs in your personal ~/.gitexclude,
> instead.

Since this comes up every now and again, I wonder if it's worth documenting
this in our .gitignore along the lines of:

--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,7 @@
+# This contains ignores for build artifacts from standard builds,
+# auxiliary files from local workflows should be ignored locally
+# with $GIT_DIR/info/exclude
+

> (BTW, perhaps we should remove the entries targeting ".sl"
> extensions?  AFAIK that was only for HP-UX, which is now
> desupported.)

+1.  Grepping through the .gitignores in the tree didn't reveal anything else
that seemed to have outlived its usefulness.

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: CREATE INDEX CONCURRENTLY on partitioned index
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Add .idea to gitignore for JetBrains CLion