Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » create patch and gitignore
create patch and gitignore [message #909539] Fri, 07 September 2012 09:45 Go to next message
Martin Eisengardt is currently offline Martin EisengardtFriend
Messages: 9
Registered: July 2009
Junior Member
If I create a patch by "team->create patch" it seems to ignore the "gitignore" file.
However I did only one or two changes and this results in patches of 1MB size. Looking at the patch all the thousands of class files are reported:

diff --git bin/org/eclipse/php/core/codeassist/ICompletionContext.class bin/org/eclipse/php/core/codeassist/ICompletionContext.class
new file mode 100644
index 0000000..35660be
--- /dev/null
+++ bin/org/eclipse/php/core/codeassist/ICompletionContext.class
Binary files differ


Why does "create patch" look at the class files? They are ignored by .gitignore and should not be mentioned within any patches. Patches should only respect files that are under version control.

Is there a way to let egit really ignore all gitignore paths? Or is it a bug?

I am using eclipse 4.2
Re: create patch and gitignore [message #909557 is a reply to message #909539] Fri, 07 September 2012 10:26 Go to previous message
Martin Eisengardt is currently offline Martin EisengardtFriend
Messages: 9
Registered: July 2009
Junior Member
sry, ignore my post. the bin folder is not excluded via .gitignore. I will contact pdt-dev to fix it Smile
Previous Topic:Weird Simply in front of project name,I can not use some egit funtion s
Next Topic:Auto-share projects not working as intended?
Goto Forum:
  


Current Time: Tue Jun 27 07:14:44 GMT 2017

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

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