Skip to main content



      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 08:47 Go to next message
Eclipse UserFriend
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 14:38 Go to previous messageGo to next message
Eclipse UserFriend
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 13:56 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 21:03:49 EDT 2025

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

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

Back to the top