Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324832 - share project: can't create repository if subdirectory contains a repository
Summary: share project: can't create repository if subdirectory contains a repository
Status: CLOSED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 06:22 EDT by François Rey CLA
Modified: 2013-09-27 11:47 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François Rey CLA 2010-09-09 06:22:33 EDT
Build Identifier: 

With a project containing files, I wasn't able to create a new repository using the share project wizard. The git dialog disabled the create section and only offered to add the project in a repository contained in a subdirectory deep down in the project, which is the repository of a module used in the project.
I file this as a bug because I don't think it even make sense to share a project using a repository in a subdirectory. However I'm new to git/egit, so...

My suggestion in this case would be to not disable the creation of a new repository in the project root, and not enable the use of a repository in a subdirectory. If a subdirectory contains a repository, we should have the choice later on of adding that subdirectory as a plain directory in the project repository (fake submodule as explained in http://debuggable.com/posts/git-fake-submodules:4b563ee4-f3cc-4061-967e-0e48cbdd56cb) or as a submodule of the project when egit support them.

Reproducible: Always
Comment 1 Robin Stocker CLA 2013-09-27 11:47:39 EDT
Can not reproduce the problem anymore, assuming it was fixed.