diff options
author | Ivan Frade <ifrade@google.com> | 2024-09-27 15:56:13 +0000 |
---|---|---|
committer | Gerrit Code Review <support@gerrithub.io> | 2024-09-27 15:56:13 +0000 |
commit | 7ce81836fdebc864317b93f9bdab9b08a60b9a10 (patch) | |
tree | 1b1e81ca4ba335a56f54bfe544c157af319680e2 /org.eclipse.jgit | |
parent | 96e86eb6aed9283056388d5396f603a090e0f905 (diff) | |
parent | 4ca0d13c272366cbaa503273ab29fa28b11bcdaa (diff) | |
download | jgit-7ce81836fdebc864317b93f9bdab9b08a60b9a10.tar.gz jgit-7ce81836fdebc864317b93f9bdab9b08a60b9a10.zip |
Merge "FileRepository: Remove unnecessary setConfig call"
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java | 2 |
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()); |