From: Junio C Hamano Date: Fri, 25 Oct 2019 06:10:17 +0000 (+0900) Subject: Merge branch 'mt/threaded-grep-in-object-store' into pu X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5255708b685961b3405535f464a63107ebc1dfa;p=git Merge branch 'mt/threaded-grep-in-object-store' into pu Traditionally, we avoided threaded grep while searching in objects (as opposed to files in the working tree) as accesses to the object layer is not thread-safe. This limitation is getting lifted. * mt/threaded-grep-in-object-store: grep: move driver pre-load out of critical section grep: re-enable threads in non-worktree case grep: protect packed_git [re-]initialization grep: allow submodule functions to run in parallel submodule-config: add skip_if_read option to repo_read_gitmodules() grep: replace grep_read_mutex by internal obj read lock object-store: allow threaded access to object reading replace-object: make replace operations thread-safe grep: fix racy calls in grep_objects() grep: fix race conditions at grep_submodule() grep: fix race conditions on userdiff calls --- f5255708b685961b3405535f464a63107ebc1dfa