Re: [PATCH] Add .idea to gitignore for JetBrains CLion - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: [PATCH] Add .idea to gitignore for JetBrains CLion
Date
Msg-id 08AE3148-3BA1-41C3-B598-4401C58E0EBA@yesql.se
Whole thread Raw
In response to Re: [PATCH] Add .idea to gitignore for JetBrains CLion  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] Add .idea to gitignore for JetBrains CLion  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: CREATE INDEX CONCURRENTLY on partitioned index
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Add .idea to gitignore for JetBrains CLion