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 #555091] 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).

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

cheers,
Janosch

[Updated on: Wed, 25 August 2010 08:48] by 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
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
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: Fri Jul 04 08:26:49 EDT 2025

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

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

Back to the top