Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Status of .gitignore awareness in 0.9?
Status of .gitignore awareness in 0.9? [message #555091] Wed, 25 August 2010 08:47 Go to next message
Janosch  is currently offline Janosch
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).

EDIT: FYI: everything works as expected on the command line. ("CMakeFiles" folders are ignored)

cheers,
Janosch

[Updated on: Wed, 25 August 2010 08:48]

Report message to a moderator

Re: Status of .gitignore awareness in 0.9? [message #558893 is a reply to message #555091] Tue, 14 September 2010 14:38 Go to previous message
Chris Aniszczyk is currently offline Chris Aniszczyk
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
Previous Topic:Corruption mentioned at github - is this issue still valid?
Next Topic:Issuing jgit commands (commit) without command line interface
Goto Forum:
  


Current Time: Wed Aug 20 12:34:47 EDT 2014

Powered by FUDForum. Page generated in 0.01847 seconds