Bug 373793 - Allow creation of Git repositories in subfolders of the workspace
Summary: Allow creation of Git repositories in subfolders of the workspace
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-09 09:06 EST by Dennis Schieferdecker CLA
Modified: 2015-09-23 20:50 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 Dennis Schieferdecker CLA 2012-03-09 09:06:41 EST
Build Identifier:  20120216-1857

Currently, the "Configure Git Repository" dialog actively prevents the creation of repositories in the Eclipse workspace. This behaviour also prevents [or at least makes it very difficult and unintuitive] to create repositories in subfolders of the workspace - which actually should be considered as good practice if you store projects in your workspace.

Proposed behaviour:
It should be made clear and discouraged or even prohibited that a repository is created in "/workspace/.git" just as it is now. But creating repositories in e.g. "/workspace/project/.git" should not face the same obstacles.


For reference I am talking about the following directory structure:

/workspace
/workspace/project1
/workspace/project1/.git
/workspace/project2
/workspace/project2/.git

Here, there are two completely separate projects under der Eclipse workspace. And each of them contains a separate Git repository.

Reproducible: Always

Steps to Reproduce:
1. Create new project (any type)
2. Project Context menu -> Team -> Share Project -> Git
3. Difficult to create a repository under /workspace/project1/.git