Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » create patch and gitignore
create patch and gitignore [message #909539] Fri, 07 September 2012 05:45 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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: Wed Jul 23 01:11:37 EDT 2025

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

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

Back to the top