diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-03-12 14:28:36 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2014-03-12 14:28:36 +0100 |
commit | ac79c601f9300b80aff1c1efb745314996b47ef9 (patch) | |
tree | ffdb85c975340a33c1fa879d84f4cb48a68986c2 /test/remove-trailing-ws.test | |
parent | 1ce592cbeaa592d550d77daee219d306041d4739 (diff) | |
download | quilt-ac79c601f9300b80aff1c1efb745314996b47ef9.tar.gz |
Let print_patch print a newline character
Function print_patch currently doesn't print a newline character at
the end of the patch name. Because of this, callers which need the
newline character much wrap print_patch with an echo. This hurts
performance and isn't too elegant either.
So let print_patch print a trailing newline character. If the caller
doesn't need it, it will typically be stripped by bash anyway (tailing
whitespace is stripped on variable expansion.) And if the caller does
need it, it avoids the extra call to echo.
Diffstat (limited to 'test/remove-trailing-ws.test')
0 files changed, 0 insertions, 0 deletions