]> git.ipfire.org Git - thirdparty/git.git/commit
mktag tests: stress test whitespace handling
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 5 Jan 2021 19:42:39 +0000 (20:42 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Jan 2021 22:58:29 +0000 (14:58 -0800)
commit47c95e77d158e4660dab25b9fdd6f4d70013b430
tree5b81f0d8daec3b1bfedd40f8a5b1af74863cd581
parent3b9e4dd3a3be6d39bece6a9272640be3b5a817d2
mktag tests: stress test whitespace handling

Add tests for a couple of whitespace edge cases around the header/body
boundary.

I consider the requirement for a blank line before the empty body a
bug, it's a long-standing regression which goes against the command's
documented behavior. This bug will be addressed in a follow-up change.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3800-mktag.sh