]> git.ipfire.org Git - thirdparty/git.git/commit
grep: add repository to OID grep sources
authorJonathan Tan <jonathantanmy@google.com>
Mon, 16 Aug 2021 21:09:56 +0000 (14:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Sep 2021 18:48:05 +0000 (11:48 -0700)
commit0693806bf82fb76347e226d8fc5e69077c0a3df5
treeb584ca85d7876dc390c4be149afee6a3af5dfbee
parentdd45471a3717bcd6561e405371b81928214ad1b5
grep: add repository to OID grep sources

Record the repository whenever an OID grep source is created, and teach
the worker threads to explicitly provide the repository when accessing
objects.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Reviewed-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/grep.c
grep.c
grep.h