jgit/org.eclipse.jgit.test/tst/org/eclipse/jgit/treewalk
Thomas Wolf b255eb0fb6 DirCacheCheckout: load WorkingTreeOptions only once
Previous code loaded the WorkingTreeOptions afresh for every single
file being checked out. This checked the git config (all three files,
repo, user and system config) for having been modified every time.

These checks can be costly, for instance on Windows, or if one of the
three config files is not on a local disk, or on an otherwise slow
storage.

Improve this by loading the options and thus checking the git config
only once before the checkout.

Bug: 579715
Change-Id: I21cd5a808f9d90b5ca2d022f91f0eeb8ca26091c
Signed-off-by: Thomas Wolf <twolf@apache.org>
2022-08-14 21:33:19 +02:00
..
filter Fix PathSuffixFilter: can decide only on full paths 2021-06-21 13:03:22 +02:00
AbstractTreeIteratorTest.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
CanonicalTreeParserTest.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
EmptyTreeIteratorTest.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
FileTreeIteratorTest.java DirCacheCheckout: load WorkingTreeOptions only once 2022-08-14 21:33:19 +02:00
ForPathTest.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
InstantComparatorTest.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
NameConflictTreeWalkTest.java NameConflictTreeWalk: respect git order on multi-tree iteration 2022-07-29 19:35:22 +02:00
PostOrderTreeWalkTest.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
TreeWalkBasicDiffTest.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
TreeWalkJava7Test.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00