summaryrefslogtreecommitdiff
path: root/Documentation/gitdiffcore.txt
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2019-02-21 23:37:46 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-02-22 14:29:49 -0800
commitf6761faaa17a98c025b34fffeeec71f0ec223b2d (patch)
tree249065a2dfb3c0c842e87822bef995efe908f4a7 /Documentation/gitdiffcore.txt
parentGit 2.21-rc2 (diff)
downloadtgif-f6761faaa17a98c025b34fffeeec71f0ec223b2d.tar.xz
commit-graph tests: split up corrupt_graph_and_verify()
Split up the corrupt_graph_and_verify() function added in d9b9f8a6fd ("commit-graph: verify catches corrupt signature", 2018-06-27) into its logical components of setting up the test itself, doing the corruption in a particular way with "dd", and then finally testing that stderr is what we expect. This allows for re-using everything except the now slimmer corrupt_graph_and_verify() to corrupt the graph in a way that doesn't involve inserting a given byte sequence at a given position, e.g. truncating it entirely to a custom value. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitdiffcore.txt')
0 files changed, 0 insertions, 0 deletions