| Summary: | Adding existing Git repository in Git Repository view scans .metadata workspace folder | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Kay Huber <quorg.xtn> |
| Component: | UI | Assignee: | Project Inbox <egit.ui-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mathias.kinzler, matthias.sohn |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Kay Huber
> IMHO not scanning automatically, or not scanning .metadata folders are better
> options.
This dialog has gone through several iterations now... Originally, there was a "Search" button that would start the scan (the directory is remembered between calls, but the list would always be empty when the dialog comes up). This button was considered to be bad in terms of usability, so it was removed. There is now also a feature to start a scan automatically whenever a valid path is entered in the "Directory" field... Not sure about all this.
Maybe we'll have to add the "Search" button again and enable/disable it depending on whether a valid path is entered in the "Directory" field? The user would still have to push it, but giving this kind of feedback might help them to see that they need to push at all... Any opinions?
What about just excluding certain (hardcoded?) folders such as the .metadata one? IMO it's ok to scan the workspace, but .metadata will not provide git repos of interest. (In reply to comment #2) > What about just excluding certain (hardcoded?) folders such as the .metadata > one? IMO it's ok to scan the workspace, but .metadata will not provide git > repos of interest. I don't think that's worth it, the user may set the directory to C:\ or dev/disk0/ or whatever and then we have the same problem. Actually, importing Repositories into the Eclipse workspace is probably something most people wouldn't do, so perhaps we should rather get rid of the initial proposal for the "Directory" field... Code review on Gerrit: http://egit.eclipse.org/r/#change,813 merged as 2beb17486fdb4874a3bb6b033512ecf37180e351 |