Re: [PATCH 2/2] Add Eclipse project settings files to .gitignore
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Aug 18, 2022, 17:00 UTC
- Message-ID
- <Yv5wF0DxVe38ygap@tapette.crustytoothpaste.net>
- In-Reply-To
- <106a0563cfc29b75dbdbd54ce55140762e133539.1660831231.git.gitgitgadget@gmail.com>
On 2022-08-18 at 14:00:31, Sergio via GitGitGadget wrote:
Show 17 quoted lines
> From: Sergio <sergeikrivonos@gmail.com> > > Signed-off-by: Sergio <sergeikrivonos@gmail.com> > --- > .gitignore | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/.gitignore b/.gitignore > index 42fd7253b44..13755c31caf 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -246,3 +246,5 @@ Release/ > /git.VC.db > *.dSYM > /contrib/buildsystems/out > +/.cproject > +/.project
I have no strong opinion on this change, but typically, to avoid a proliferation of patterns with everyone's favourite editor settings, it can be useful if each individual user sets their own editor files in ~/.config/git/ignore (or core.excludesFile, if you prefer a different location). For example, I do this with Vim-related files, and it applies to all repos on my system, such that other developers don't have to care what editor I use.
However, Eclipse is a popular editor, so it may be that Junio really likes this change since it will benefit many people.
-- brian m. carlson (he/him or they/them) Toronto, Ontario, CA