]> git.ipfire.org Git - thirdparty/git.git/commit
test-mergesort: use strbuf_getline()
authorRené Scharfe <l.s.r@web.de>
Fri, 1 Oct 2021 09:10:09 +0000 (11:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Oct 2021 19:43:08 +0000 (12:43 -0700)
commit2e6701017ed6bfb9481e9d5ba5abb29cf4120321
treed22c35bcdb339f999e3ef5249033568deaae20d5
parent94f6e3e283f2adfc518b39cfc39291f1c2832ad0
test-mergesort: use strbuf_getline()

Strip line ending characters to make sure empty lines are sorted like
sort(1) does.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-mergesort.c