diff options
author | Thomas Wolf <twolf@apache.org> | 2022-08-14 16:34:50 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2022-08-14 21:33:19 +0200 |
commit | b255eb0fb6ab9c7487423083e8df9b1e373bc37e (patch) | |
tree | 085ffc3bb03717ad7c91b16296d485685789822e /org.eclipse.jgit.lfs.server.test/pom.xml | |
parent | 134ee334fb22410623972fa972f60bff38b38ca8 (diff) | |
download | jgit-b255eb0fb6ab9c7487423083e8df9b1e373bc37e.tar.gz jgit-b255eb0fb6ab9c7487423083e8df9b1e373bc37e.zip |
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>
Diffstat (limited to 'org.eclipse.jgit.lfs.server.test/pom.xml')
0 files changed, 0 insertions, 0 deletions