]> source.dussan.org Git - jgit.git/commit
DfsInserter: Create PackConfig from repo instead of repo.conf 35/1201735/1
authorIvan Frade <ifrade@google.com>
Tue, 24 Sep 2024 22:23:04 +0000 (15:23 -0700)
committerIvan Frade <ifrade@google.com>
Tue, 24 Sep 2024 22:23:04 +0000 (15:23 -0700)
commitc5407a2b5967e19859d9028db2ad72c54a6f047c
tree3488ba06b4ae13c42d1d2d5dbdd3a318295a05c8
parentcd21ed3b4ec3c8ad1ccca6bcffd41e211d659ae0
DfsInserter: Create PackConfig from repo instead of repo.conf

PackConfig can be constructed from the repo or from a config. While
browing the code, it is easier to follow the provenance of the
configuration when using the repository constructor.

Use the PackConfig(Repository) constructor in the
DfsInserter. Internally it calls PackConfig(repo.getConfig()) so this
should be a noop.

Change-Id: Ifce5bc87404ca8ec9a821d28253d489056faad9a
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsInserter.java