]> source.dussan.org Git - jgit.git/commit
RepoCommand: generate relative submodule URLs from absolute URLs. 88/117688/3
authorHan-Wen Nienhuys <hanwen@google.com>
Mon, 19 Feb 2018 18:59:35 +0000 (19:59 +0100)
committerHan-Wen Nienhuys <hanwen@google.com>
Wed, 21 Feb 2018 12:41:50 +0000 (13:41 +0100)
commit6a420613f7dae0f58496e259859d1a6cf1965f5b
treeea432ee9612e58596ff62a98ffb7e97cb5f665b4
parent3214171decf596f003c154685638b01faba31ff3
RepoCommand: generate relative submodule URLs from absolute URLs.

If a manifest file specifies an absolute URL on the same host on which
the superproject resides, rewrite the URLs to be relative.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Change-Id: Id616611e5195998fb665c8e7806539a3a02e219a
org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java