]> 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:11 +0000 (21:54 -0400)
commit1426ca963932ab7521eb40914f98ff0cc9e00ffb
tree834ec67e941cb3c5907a2d3e9557be9403d69ca9
parente4f82ab1904209a27bc9c4f5fa065287bb576f29
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