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

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

cheers,
Janosch

[Updated on: Wed, 25 August 2010 12: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 18:38 Go to previous 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
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: Thu Apr 25 21:29:52 GMT 2024

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

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

Back to the top