Skip to content

Commit 60b9de5

Browse files
sdeleuzevjovanov
authored andcommitted
Refine support for JGit 7.4.0.202509020913-r
1 parent 78b4562 commit 60b9de5

File tree

2 files changed

+22
-1
lines changed
  • metadata/org.eclipse.jgit/org.eclipse.jgit/7.4.0.202509020913-r
  • tests/src/org.eclipse.jgit/org.eclipse.jgit/7.4.0.202509020913-r/src/test/java/org_eclipse_jgit/org_eclipse_jgit

2 files changed

+22
-1
lines changed

metadata/org.eclipse.jgit/org.eclipse.jgit/7.4.0.202509020913-r/reflect-config.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,20 @@
198198
"name": "values",
199199
"parameterTypes": [
200200

201+
]
202+
}
203+
]
204+
},
205+
{
206+
"name": "org.eclipse.jgit.transport.HttpConfig$HttpRedirectMode",
207+
"condition": {
208+
"typeReachable": "org.eclipse.jgit.lib.Config"
209+
},
210+
"methods": [
211+
{
212+
"name": "values",
213+
"parameterTypes": [
214+
201215
]
202216
}
203217
]

tests/src/org.eclipse.jgit/org.eclipse.jgit/7.4.0.202509020913-r/src/test/java/org_eclipse_jgit/org_eclipse_jgit/OrgEclipseJGitTest.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
import org.eclipse.jgit.internal.storage.file.FileRepository;
1111
import org.eclipse.jgit.lib.Repository;
1212
import org.eclipse.jgit.revwalk.RevCommit;
13+
import org.eclipse.jgit.transport.HttpConfig;
14+
import org.eclipse.jgit.transport.URIish;
1315
import org.junit.jupiter.api.AfterAll;
1416
import org.junit.jupiter.api.BeforeAll;
1517
import org.junit.jupiter.api.Test;
@@ -75,7 +77,7 @@ void afterAll() {
7577
}
7678

7779
@Test
78-
void test() throws Exception {
80+
void fileTest() throws Exception {
7981
File localRepositoryDir = new File(TMP_DIR, "test_jgit_local_repo_" + System.currentTimeMillis());
8082
try {
8183
Git localGit = Git.cloneRepository()
@@ -116,4 +118,9 @@ private void deleteDir(File file) {
116118
}
117119
}
118120

121+
@Test
122+
void httpTest() {
123+
new HttpConfig(new URIish());
124+
}
125+
119126
}

0 commit comments

Comments
 (0)