Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » create patch and gitignore
create patch and gitignore [message #909539] Fri, 07 September 2012 05:45 Go to next message
Martin Eisengardt is currently offline Martin Eisengardt
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 06:26 Go to previous message
Martin Eisengardt is currently offline Martin Eisengardt
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:EGit and repositories with large files
Next Topic:Pull with EGit
Goto Forum:
  


Current Time: Fri Jul 25 13:45:29 EDT 2014

Powered by FUDForum. Page generated in 0.02939 seconds