jgit/org.eclipse.jgit.lfs.test
Nail Samatov a054f3ce76 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>
2022-02-08 09:11:12 +01:00
..
.settings Enable compiler option --release 2021-09-29 17:13:01 +02:00
META-INF Support LFS Server URL without .git suffix 2022-02-08 09:11:12 +01:00
src/org/eclipse/jgit/lfs/test Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
tst/org/eclipse/jgit/lfs Support LFS Server URL without .git suffix 2022-02-08 09:11:12 +01:00
.classpath Bump minimum required Java version to 11 2021-09-29 17:12:12 +02:00
.gitignore Implement SHA-256 abstraction 2016-02-04 17:49:42 +01:00
.project Implement SHA-256 abstraction 2016-02-04 17:49:42 +01:00
BUILD [bazel] Add missing dependency to slf4j-api 2020-09-01 17:51:45 +02:00
build.properties Implement SHA-256 abstraction 2016-02-04 17:49:42 +01:00
plugin.properties Fix bundle localization of Apache SSH bundle 2019-06-21 17:54:06 +02:00
pom.xml Prepare 6.1.0-SNAPSHOT builds 2021-11-24 19:42:27 +01:00