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

Bug 337553

Summary: Confusing defaults when creating git repositories
Product: [Technology] EGit Reporter: Kay Huber <quorg.xtn>
Component: UIAssignee: Christian Halstrick <christian.halstrick>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: stefan.lay
Version: 0.11   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Kay Huber CLA 2011-02-18 06:25:36 EST
When I create a new git repository from within the "Git Repositories" view, selecting "bare" repository results in different default behaviour when creating the directory. This may well be intended, but at least for starters it's counter intuitive.

* Creating a bare repo under C:\repos\test will result in a repo C:\repos\test
* Creating a default repo under C:\workspace\root\ will result in a repo C:\workspace\root\.git
Sidenote: in the Git repositories view, for the above bare repos, the name will always be "repos" - which get's additionally confusing once I add a second repo at C:\repos\test2, as this one also gets the name "repos"

Suggestions: 
* Display the "final" path of the repository while it is being entered in the dialog
* Improve the naming algorithm for multiple bare repos at the same location - or display the name of the repo while it is being entered in the dialog
Comment 1 Stefan Lay CLA 2011-02-21 09:56:51 EST

*** This bug has been marked as a duplicate of bug 336946 ***