]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
test-tool: use 'read-graph' helper
authorDerrick Stolee <dstolee@microsoft.com>
Tue, 12 Nov 2019 16:58:20 +0000 (16:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Nov 2019 02:14:16 +0000 (11:14 +0900)
commit4bd0593e0f9149b0e72886c0a2d85bb22fc5404a
treeec2d841dcbda86a9e017f688e5d3aea8e3bb536b
parentd9f6f3b6195a0ca35642561e530798ad1469bd41
test-tool: use 'read-graph' helper

The 'git commit-graph read' subcommand is used in test scripts to check
that the commit-graph contents match the expected data. Mostly, this
helps check the header information and the list of chunks. Users do not
need this information, so move the functionality to a test helper.

Reported-by: Bryan Turner <bturner@atlassian.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-commit-graph.txt
Makefile
builtin/commit-graph.c
t/helper/test-read-graph.c [new file with mode: 0644]
t/helper/test-tool.c
t/helper/test-tool.h
t/t5318-commit-graph.sh
t/t5324-split-commit-graph.sh