Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359848

Summary: entire .git folder is published to tomcat server integrated with eclipse
Product: [Technology] EGit Reporter: suggsra
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description suggsra CLA 2011-10-04 10:52:59 EDT
Build Identifier: 20110615-0604

- My project is stored in a git repository, so under the root project folder, there is a .git folder.
- The project is a Java EE application.
- The project runs in the default tomcat integration 6.0 server.
- The .git folder is published to the server.
- As a result, as the repository history grows, it takes longer and longer to publish a project to the repository.
- For comparison, a project tracked by svn will not publish .svn folders to the repository.

Thanks

Reproducible: Always

Steps to Reproduce:
1. Create a Java EE project.
2. Initiate the project as a git repository.
3. Publish the project to integrated tomcat within eclipse.
4. Verify that the .git folder is published to the server.
Comment 1 Remy Suen CLA 2011-10-04 19:32:11 EDT
Do you use EGit or do you use another tool to interface with your clone?
Comment 2 suggsra CLA 2011-10-05 09:43:57 EDT
(In reply to comment #1)
> Do you use EGit or do you use another tool to interface with your clone?

Right, this is an Egit issue, I create the repository using the git command line (git init), then create the eclipse project from within eclipse. From there, I use Egit to manage all git tasks.