summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2024-09-27 15:56:13 +0000
committerGerrit Code Review <support@gerrithub.io>2024-09-27 15:56:13 +0000
commit7ce81836fdebc864317b93f9bdab9b08a60b9a10 (patch)
tree1b1e81ca4ba335a56f54bfe544c157af319680e2 /org.eclipse.jgit/src/org/eclipse/jgit
parent96e86eb6aed9283056388d5396f603a090e0f905 (diff)
parent4ca0d13c272366cbaa503273ab29fa28b11bcdaa (diff)
downloadjgit-7ce81836fdebc864317b93f9bdab9b08a60b9a10.tar.gz
jgit-7ce81836fdebc864317b93f9bdab9b08a60b9a10.zip
Merge "FileRepository: Remove unnecessary setConfig call"
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java
index b5d29a3fc8..230dc6f45a 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java
@@ -60,7 +60,6 @@ import org.eclipse.jgit.lib.StoredConfig;
import org.eclipse.jgit.revwalk.RevWalk;
import org.eclipse.jgit.storage.file.FileBasedConfig;
import org.eclipse.jgit.storage.file.FileRepositoryBuilder;
-import org.eclipse.jgit.storage.pack.PackConfig;
import org.eclipse.jgit.transport.ReceiveCommand;
import org.eclipse.jgit.util.FileUtils;
import org.eclipse.jgit.util.IO;
@@ -595,7 +594,6 @@ public class FileRepository extends Repository {
@Override
public void autoGC(ProgressMonitor monitor) {
GC gc = new GC(this);
- gc.setPackConfig(new PackConfig(this));
gc.setProgressMonitor(monitor);
gc.setAuto(true);
gc.setBackground(shouldAutoDetach());