summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel M. Capella <polyzen@archlinux.org>2019-09-27 18:55:45 -0400
committerLevente Polyak <anthraxx@archlinux.org>2019-11-07 21:28:17 +0100
commit75d23eec942e7160108ee194894b6b83ed3045d5 (patch)
tree0d01a3b94cf920c4df9b59ec824a86556b224c61
parent6679c28625b1e48bc115290b7c41941366d44a05 (diff)
downloaddevtools-75d23eec942e7160108ee194894b6b83ed3045d5.tar.xz
commitpkg: Include commit msg arg in first line
Commit messages belong on the first line, with optional "explanatory text" starting after a blank line: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html Referencing commit ee970f0bde3c90a0dff909c366d4ab1a1bff9b9d Signed-off-by: Daniel M. Capella <polyzen@archlinux.org> Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
-rw-r--r--commitpkg.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/commitpkg.in b/commitpkg.in
index 31b2443..806d353 100644
--- a/commitpkg.in
+++ b/commitpkg.in
@@ -109,10 +109,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} ${1}" || die
stat_done
else
msgfile="$(mktemp)"