diff options
| author | Karthik Nayak <karthik.188@gmail.com> | 2024-12-03 15:43:58 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-12-04 08:21:54 +0900 |
| commit | 873b00597bbf20c1bcda089a687641167b148fa2 (patch) | |
| tree | 24fa801860fbbc927e83474a37d2fae858da0f99 /diff.c | |
| parent | packfile: pass `repository` to static function in the file (diff) | |
| download | git-873b00597bbf20c1bcda089a687641167b148fa2.tar.gz git-873b00597bbf20c1bcda089a687641167b148fa2.zip | |
packfile: pass down repository to `odb_pack_name`
The function `odb_pack_name` currently relies on the global variable
`the_repository`. To eliminate global variable usage in `packfile.c`, we
should progressively shift the dependency on the_repository to higher
layers.
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions
