]> git.ipfire.org Git - thirdparty/git.git/commit
t/helper/test-read-graph.c: prepare repo settings
authorTaylor Blau <me@ttaylorr.com>
Wed, 9 Sep 2020 15:23:03 +0000 (11:23 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Sep 2020 19:51:48 +0000 (12:51 -0700)
commit24f951a4924e72e51d4b658084902390f341ec2e
tree291654f14295da1c96bd25d0833028b09997d139
parentab14d0676c58389e6f0ccbb9569b07045a05b6df
t/helper/test-read-graph.c: prepare repo settings

The read-graph test-tool is used by a number of the commit-graph test to
assert various properties about a commit-graph. Previously, this program
never ran 'prepare_repo_settings()'. There was no need to do so, since
none of the commit-graph machinery is affected by the repo settings.

In the next patch, the commit-graph machinery's behavior will become
dependent on the repo settings, and so loading them before running the
rest of the test tool is critical.

As such, teach the test tool to call 'prepare_repo_settings()'.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-read-graph.c