From 75d23eec942e7160108ee194894b6b83ed3045d5 Mon Sep 17 00:00:00 2001 From: "Daniel M. Capella" Date: Fri, 27 Sep 2019 18:55:45 -0400 Subject: 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 Signed-off-by: Levente Polyak --- commitpkg.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commitpkg.in') 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)" -- cgit v1.2.3-70-g09d2