diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-01-05 20:42:40 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-01-05 14:58:29 -0800 |
| commit | ca9a1ed969f09c8b6efc3e1d925ac1bda7370886 (patch) | |
| tree | 6e915781eab9caada4779e47244c819c72bee927 /commit-graph.c | |
| parent | mktag tests: stress test whitespace handling (diff) | |
| download | git-ca9a1ed969f09c8b6efc3e1d925ac1bda7370886.tar.gz git-ca9a1ed969f09c8b6efc3e1d925ac1bda7370886.zip | |
mktag tests: test "hash-object" compatibility
Change all the successful "mktag" tests to test that "hash-object"
produces the same hash for the input, and that fsck passes for
both.
This tests e.g. that "mktag" doesn't trim its input or otherwise munge
it in a way that "hash-object" doesn't.
Since we're doing an "fsck --strict" here at the end let's incorporate
the creation of the "mytag" name into this test, removing the
special-case at the end of the file.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
