aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm/BUILD
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@google.com>2017-03-28 14:00:38 +0200
committerDavid Pursehouse <david.pursehouse@gmail.com>2017-04-13 10:53:58 +0900
commitfe5437e96b91222e30d9105e7bab490fd68c2d52 (patch)
tree69ed7c1809f904f246eaf5836ec26a72581fbd67 /org.eclipse.jgit.pgm/BUILD
parente730fcce776b795692bbae086f0333bb4ae38a6c (diff)
downloadjgit-fe5437e96b91222e30d9105e7bab490fd68c2d52.tar.gz
jgit-fe5437e96b91222e30d9105e7bab490fd68c2d52.zip
Fix RepoCommand to allow for relative URLs
This is necessary for deploying submodules on android.googlesource.com. * Allow an empty base URL. This is useful if the 'fetch' field is "." and all names are relative to some host root. * The URLs in the resulting superproject are relative to the superproject's URL. Add RepoCommand#setDestinationURI to set this. If unset, the existing behavior is maintained. * Add two tests for the Android and Gerrit case, checking the URL format in .gitmodules; the tests use a custom RemoteReader which is representative of the use of this class in Gerrit's Supermanifest plugin. Change-Id: Ia75530226120d75aa0017c5410fd65d0563e91b Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.pgm/BUILD')
0 files changed, 0 insertions, 0 deletions