| Summary: | Confusing error message for file:// protocol | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] JGit | Reporter: | Dmitry Neverov <dmitry.neverov> | ||||
| Component: | JGit | Assignee: | Project Inbox <jgit.core-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | matthias.sohn, sop, stefan.lay | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 0.12 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Dmitry Neverov
Created attachment 170940 [details]
possible fix
With this solution I get a strange error message for push: "file:///C:/path/to/non-existing/repository.git: Pipe closed." if there is no repository for this path. Maybe we could throw in this case already a NotSupportedException in TransportLocal.canHandle with a more meaningful error message like "file:///C:/path/to/non-existing/repository.git does not exist"? Sounds good for me Stefan, what do you think about this patch: http://egit.eclipse.org/r/2606 ? Fixed by commit 305a8ac45f350580957743b3b3aa4c4eca0a6396 |