]> git.ipfire.org Git - thirdparty/git.git/commit
write-midx: add repository field to `write_midx_context`
authorKarthik Nayak <karthik.188@gmail.com>
Wed, 27 Nov 2024 16:28:28 +0000 (17:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Dec 2024 01:32:20 +0000 (10:32 +0900)
commitdfa7c68245bc01e7678d85520cbfbac042cb7c5c
tree786697ded6b818fa6678133a39382eb9071b3c62
parent20df8141f5b7c015abb1090b19e4d24439e500c0
write-midx: add repository field to `write_midx_context`

The struct `write_midx_context` is used to pass context for creating
MIDX files. Add the repository field here to ensure that most functions
within `midx-write.c` have access to the field and can use that instead
of the global `the_repository` variable.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
midx-write.c