Community
Participate
Working Groups
Build Identifier: I20100413-1521 git allows remotes to be relative paths: > git --version git version 1.7.0.2.msysgit.0 > git remote -v foo ..\foo (fetch) foo ..\foo (push) origin git://git.foo.com/foo.git (fetch) origin git://git.foo.com/foo.git (push) This makes sense. This causes EGit's "Fetch from" and "Push to" commands to present an error dialog: Corrupted Configuration Remote repositories URIs configuration is corrupted. Reason: Cannot parse Git URI-ish: ../foo. No stack-trace is available. Reproducible: Always Steps to Reproduce: 1. Add a relative remote: git remote add rel ../rel 2. On the associate project, Team -> Push To... 3. See error.
Retested in 0.8.0.201004301514, still present.
Created attachment 178467 [details] Patch with testcase Fix inside jgit's URIish "parser".
Chris F., can you contribute this via Gerrit? http://wiki.eclipse.org/EGit/Contributor_Guide#Contributing_Patches Thanks for the patch!
Done, I think that took longer than writing the patch. ;p http://egit.eclipse.org/r/#change,1575 (Also, I went for bugzilla because I foolishly read the SUBMITTING_PATCHES document: http://egit.eclipse.org/w/?p=jgit.git;a=blob;f=SUBMITTING_PATCHES;hb=HEAD )
this can be closed, or?
*** Bug 290840 has been marked as a duplicate of this bug. ***