summaryrefslogtreecommitdiffstats
path: root/bin/patch-wrapper.in
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-03-12 14:28:36 +0100
committerJean Delvare <jdelvare@suse.de>2014-03-12 14:28:36 +0100
commitac79c601f9300b80aff1c1efb745314996b47ef9 (patch)
treeffdb85c975340a33c1fa879d84f4cb48a68986c2 /bin/patch-wrapper.in
parent1ce592cbeaa592d550d77daee219d306041d4739 (diff)
downloadquilt-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 'bin/patch-wrapper.in')
0 files changed, 0 insertions, 0 deletions