[arch-projects] [devtools] [PATCH] commitpkg: Avoid excess blank lines
Daniel M. Capella
polyzen at archlinux.org
Tue Sep 17 13:30:26 UTC 2019
Most of the time we're just bumping the pkgver and checksums, where a
commit body isn't needed.
Referencing commit ee970f0bde3c90a0dff909c366d4ab1a1bff9b9d
Signed-off-by: Daniel M. Capella <polyzen at archlinux.org>
---
commitpkg.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commitpkg.in b/commitpkg.in
index 3fc3fa6..a626531 100644
--- a/commitpkg.in
+++ b/commitpkg.in
@@ -104,10 +104,10 @@ if [[ -z $server ]]; then
fi
if [[ -n $(svn status -q) ]]; then
- msgtemplate="upgpkg: $pkgbase $(get_full_version)"$'\n\n'
+ msgtemplate="upgpkg: $pkgbase $(get_full_version)"
if [[ -n $1 ]]; then
stat_busy 'Committing changes to trunk'
- svn commit -q -m "${msgtemplate}${1}" || die
+ svn commit -q -m "${msgtemplate}\n\n${1}" || die
stat_done
else
msgfile="$(mktemp)"
--
2.23.0
More information about the arch-projects
mailing list