Re: [EGit PATCH] IgnoreAction to add to .gitignore files
- From
- Alex Blewitt <alex@bandlem.com>
- Date
- Apr 23, 2009, 20:36 UTC
- Message-ID
- <480EAB35-0032-42E9-B6C1-6712A7EB7ED1@bandlem.com>
- In-Reply-To
- <200904232226.22240.robin.rosenberg@dewire.com>
On 23 Apr 2009, at 21:26, Robin Rosenberg wrote:
Show 14 quoted lines
> torsdag 23 april 2009 22:17:56 skrev "Ferry Huberts (Pelagic)" <ferry.huberts@pelagic.nl > >: >> while we're on the subject... >> how about also adding the reverse: when a file is ignored then add >> it to >> the .gitignore file for 'un-ignoring' (the '!' pattern) > > I'm not convinced each and everything should have a menu entry. > Advanced > use of .gitignore should have a .gitignore editor. When we have that > the > option could perhaps launch the editor automatically if it > recognized no-trivial ignore rules. For trivial cases it would just > append to the file.
I don't know of any other SCM that allows you to un-ignore files in the way that Git does; my guess is that most people wouldn't miss it if it weren't there. A .gitignore customised editor is probably overkill too - after all, you can just open it up in a text editor and make changes yourself. I've amended a few .cvsignore files in my time manually, but I wouldn't want to overcomplicate the menu for that.
Alex