aboutsummaryrefslogtreecommitdiffstats
path: root/gitweb/gitweb.perl
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2024-11-27 17:28:30 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-04 10:32:20 +0900
commitfae9bae7091958255fa7729f6cedb8cc4f9a3387 (patch)
tree9d925c733df0140f3968b57f1fd86184276ecaac /gitweb/gitweb.perl
parentmidx-write: pass down repository to `write_midx_file[_only]` (diff)
downloadgit-fae9bae7091958255fa7729f6cedb8cc4f9a3387.tar.gz
git-fae9bae7091958255fa7729f6cedb8cc4f9a3387.zip
midx: cleanup internal usage of `the_repository` and `the_hash_algo`
In the `midx.c` file, there are multiple usages of `the_repository` and `the_hash_algo` within static functions of the file. Some of the usages can be simply swapped out with the available `repository` struct. While some of them can be swapped out by passing the repository to the required functions. This leaves out only some other usages of `the_repository` and `the_hash_algo` in the file in non-static functions, which we'll tackle in upcoming commits. Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.perl')
0 files changed, 0 insertions, 0 deletions