]> source.dussan.org Git - jgit.git/commit
Support for "lfs.url" from ".lfsconfig" 31/189231/14
authorMatthias Fromme <MFromme@dspace.de>
Mon, 3 Jan 2022 12:06:34 +0000 (13:06 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 3 Mar 2022 09:47:45 +0000 (10:47 +0100)
commita229072fcd701f3d1f8835b36db95ec65ec2a6a2
tree9b6447cddb04c952f06802b36979d6c85de8ffff
parente2a484f33dffbb0d6e983c694bccc48dbbf58fa9
Support for "lfs.url" from ".lfsconfig"

- New class LfsConfig to enrich repository configuration by settings
from ".lfsconfig" file respecting configuration file precedence.
- Adapted LfsConnectionFactory to use LfsConfig instead of directly
using configuration from repository to calculate url of the lfs
repository

Bug: 578020
Change-Id: I156f4ec137c2e428136a2ca9b8a4011ecee2d915
org.eclipse.jgit.lfs.test/META-INF/MANIFEST.MF
org.eclipse.jgit.lfs.test/tst/org/eclipse/jgit/lfs/LfsConfigGitTest.java [new file with mode: 0644]
org.eclipse.jgit.lfs.test/tst/org/eclipse/jgit/lfs/internal/LfsConnectionFactoryTest.java
org.eclipse.jgit.lfs/META-INF/MANIFEST.MF
org.eclipse.jgit.lfs/resources/org/eclipse/jgit/lfs/internal/LfsText.properties
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsConfig.java [new file with mode: 0644]
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsConnectionFactory.java
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsText.java
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java