aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs.test/META-INF/MANIFEST.MF
diff options
context:
space:
mode:
authorNail Samatov <sanail@yandex.ru>2022-02-07 18:13:58 +0300
committerThomas Wolf <thomas.wolf@paranor.ch>2022-02-08 09:11:12 +0100
commita054f3ce76c2aaeada7fc9b84f23a3eceb2f7708 (patch)
tree0da5ac962419ed9a02d9b8a4d0eec72984a7d5d9 /org.eclipse.jgit.lfs.test/META-INF/MANIFEST.MF
parent7e752364a6000259b2ec3fc66e0314ba12e6c0d4 (diff)
downloadjgit-a054f3ce76c2aaeada7fc9b84f23a3eceb2f7708.tar.gz
jgit-a054f3ce76c2aaeada7fc9b84f23a3eceb2f7708.zip
Support LFS Server URL without .git suffix
According to Git LFS documentation, URLs with and without .git suffix should be supported. By default, Git LFS will append .git/info/lfs to the end of a Git remote URL. To build the LFS server URL it will use: Git Remote: https://git-server.com/foo/bar LFS Server: https://git-server.com/foo/bar.git/info/lfs Git Remote: https://git-server.com/foo/bar.git LFS Server: https://git-server.com/foo/bar.git/info/lfs Fix the LfsConnectionFactory accordingly. Move a utility method to add the ".git" suffix if not present yet from FileResolver to StringUtils and use it. Bug: 578621 Change-Id: I8d3645872d5f03bb8e82c9c73647adb3e81ce484 Signed-off-by: Nail Samatov <sanail@yandex.ru> Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.lfs.test/META-INF/MANIFEST.MF')
-rw-r--r--org.eclipse.jgit.lfs.test/META-INF/MANIFEST.MF2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jgit.lfs.test/META-INF/MANIFEST.MF b/org.eclipse.jgit.lfs.test/META-INF/MANIFEST.MF
index b70fca6188..7aafbe6d26 100644
--- a/org.eclipse.jgit.lfs.test/META-INF/MANIFEST.MF
+++ b/org.eclipse.jgit.lfs.test/META-INF/MANIFEST.MF
@@ -13,9 +13,11 @@ Import-Package: org.eclipse.jgit.api;version="[6.1.0,6.2.0)",
org.eclipse.jgit.junit;version="[6.1.0,6.2.0)",
org.eclipse.jgit.lfs;version="[6.1.0,6.2.0)",
org.eclipse.jgit.lfs.errors;version="[6.1.0,6.2.0)",
+ org.eclipse.jgit.lfs.internal;version="[6.1.0,6.2.0)",
org.eclipse.jgit.lfs.lib;version="[6.1.0,6.2.0)",
org.eclipse.jgit.lib;version="[6.1.0,6.2.0)",
org.eclipse.jgit.revwalk;version="[6.1.0,6.2.0)",
+ org.eclipse.jgit.transport;version="[6.1.0,6.2.0)",
org.eclipse.jgit.treewalk;version="[6.1.0,6.2.0)",
org.eclipse.jgit.treewalk.filter;version="[6.1.0,6.2.0)",
org.eclipse.jgit.util;version="[6.1.0,6.2.0)",