diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-08-25 14:22:03 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-08-25 14:22:03 -0700 |
| commit | eed447dd959bd99a24c43688b7f6f14f727b550b (patch) | |
| tree | 190b5a331ba5304f6b182f7974ecd3a09cafcb21 /t/helper/test-read-graph.c | |
| parent | Merge branch 'ds/doc-count-objects-fix' (diff) | |
| parent | commit-graph: stop passing in redundant repository (diff) | |
| download | git-eed447dd959bd99a24c43688b7f6f14f727b550b.tar.gz git-eed447dd959bd99a24c43688b7f6f14f727b550b.zip | |
Merge branch 'ps/commit-graph-wo-globals'
Remove dependency on the_repository and other globals from the
commit-graph code, and other changes unrelated to de-globaling.
* ps/commit-graph-wo-globals:
commit-graph: stop passing in redundant repository
commit-graph: stop using `the_repository`
commit-graph: stop using `the_hash_algo`
commit-graph: refactor `parse_commit_graph()` to take a repository
commit-graph: store the hash algorithm instead of its length
commit-graph: stop using `the_hash_algo` via macros
Diffstat (limited to 't/helper/test-read-graph.c')
| -rw-r--r-- | t/helper/test-read-graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-read-graph.c b/t/helper/test-read-graph.c index ef5339bbee..6a5f64e473 100644 --- a/t/helper/test-read-graph.c +++ b/t/helper/test-read-graph.c @@ -81,7 +81,7 @@ int cmd__read_graph(int argc, const char **argv) prepare_repo_settings(the_repository); - graph = read_commit_graph_one(the_repository, source); + graph = read_commit_graph_one(source); if (!graph) { ret = 1; goto done; |
