Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Status of .gitignore awareness in 0.9?
Status of .gitignore awareness in 0.9? [message #582583] Wed, 25 August 2010 12:47 Go to next message
Janosch  is currently offline Janosch Friend
Messages: 3
Registered: August 2010
Junior Member
Hi,

EGit does not recognize folders in my .gitignore file. I have several projects in one directory which share a .gitignore file.


root_folder/
- project_1
- project_2
- ...
- .gitignore


My top level .gitignore file contains "CMakeFiles/". According to the gitignore specs, this should make git ignore all folders with that name no matter where they appear in the file hierarchie.

However every "CMakeFiles/" folder is marked by EGit as "untracked".

BTW, it works great with files. They are ignored in the whole file hierarchie if they are set in the top level gitignore file. But folders do not seem to work.

I use the EGit nightlies (0.9.0.201008171311).

cheers,
Janosch
Re: Status of .gitignore awareness in 0.9? [message #582674 is a reply to message #582583] Tue, 14 September 2010 18:38 Go to previous messageGo to next message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
On 8/25/10 7:47 AM, Janosch wrote:
> Hi,
>
> EGit does not recognize folders in my .gitignore file. I have several
> projects in one directory which share a .gitignore file.
>
>
> root_folder/
> - project_1
> - project_2
> - ...
> - .gitignore
>
>
> My top level .gitignore file contains "CMakeFiles/". According to the
> gitignore specs, this should make git ignore all folders with that name
> no matter where they appear in the file hierarchie.
>
> However every "CMakeFiles/" folder is marked by EGit as "untracked".
> BTW, it works great with files. They are ignored in the whole file
> hierarchie if they are set in the top level gitignore file. But folders
> do not seem to work.

Can you file a bug for this?
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=EGit

It should work.

--
Cheers,

Chris Aniszczyk
http://aniszczyk.org
+1 860 839 2465
Re: Status of .gitignore awareness in 0.9? [message #628924 is a reply to message #582674] Fri, 24 September 2010 17:56 Go to previous message
Janosch  is currently offline Janosch Friend
Messages: 3
Registered: August 2010
Junior Member
Done. https://bugs.eclipse.org/bugs/show_bug.cgi?id=326180
Previous Topic:An egit push does not change my files
Next Topic:Conflict resolution graphical editor (like subclipse)
Goto Forum:
  


Current Time: Wed Apr 24 19:39:36 GMT 2024

Powered by FUDForum. Page generated in 0.03147 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top