From: Junio C Hamano Date: Thu, 20 Oct 2016 18:46:14 GMT Subject: Re: [PATCH] rev-list: restore the NUL commit separator in --header mode Message-ID: In-Reply-To: Jacob Keller writes: > I did some searching, and we do use sed so I replaced it with sed \$!d > which appears to work. I think we should probably implement a > test_ends_with_nul or something. As it is "a stream editor that shall read one or more text files", I do not think "sed" is any better (or any worse) than "tail -n" from the portability point of view. They both may happen to work on GNU systems.