소스 검색

Merge "Better way to handle relative URLs in manifest XML"

tags/v3.5.0.201409071800-rc1
Dave Borowitz 10 년 전
부모
커밋
c8ddac2a86
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java

+ 2
- 2
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java 파일 보기

@@ -351,8 +351,8 @@ public class RepoCommand extends GitCommand<RevCommit> {
}
final String remoteUrl;
try {
URI uri = new URI(String.format("%s/%s/", baseUrl, remotes.get(defaultRemote))); //$NON-NLS-1$
remoteUrl = uri.normalize().toString();
URI uri = new URI(baseUrl);
remoteUrl = uri.resolve(remotes.get(defaultRemote)).toString();
} catch (URISyntaxException e) {
throw new SAXException(e);
}

Loading…
취소
저장