]> 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:55:21 +0000 (21:55 -0400)
commit74775723355a0816113bf2c025c37a6c11fe5fd9
tree1347ee926978930aebb35d7d1e792c1d7de88ae5
parentff41682701c859b2c10e3be802e6d76b74c5cf12
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