]> git.armaanb.net Git - stagit.git/commit
add function to print a single line, ignoring \r and \n
authorHiltjo Posthuma <hiltjo@codemadness.org>
Thu, 25 Mar 2021 17:13:13 +0000 (18:13 +0100)
committerArmaan Bhojwani <me@armaanb.net>
Thu, 8 Apr 2021 01:54:38 +0000 (21:54 -0400)
commit37646e890fb91b6c42dc11378ef2d916986d43a7
tree4a33348895f814335c90030a144230fdd0204ce6
parent1426ca963932ab7521eb40914f98ff0cc9e00ffb
add function to print a single line, ignoring \r and \n

This can happen when there is no newline at end of file in the diff which is
served by libgit2 as:

"\n\ No newline at end of file\n".
src/stagit.c