summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2024-11-27 17:28:29 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-04 10:32:20 +0900
commit2fed09aa9b82e4710fb4049e18280df8270eb0b2 (patch)
tree85bb8175dc09c3bd8fb4b3213ed03c9378fe2793 /commit.c
parentdfa7c68245bc01e7678d85520cbfbac042cb7c5c (diff)
midx-write: pass down repository to `write_midx_file[_only]`
In a previous commit, we passed the repository field to all subcommands in the `builtin/` directory. Utilize this to pass the repository field down to the `write_midx_file[_only]` functions to remove the usage of `the_repository` global variables. With this, all usage of global variables in `midx-write.c` is removed, hence, remove the `USE_THE_REPOSITORY_VARIABLE` guard from the file. Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions