diff options
author | Daniel M. Capella <polyzen@archlinux.org> | 2019-09-27 18:55:45 -0400 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2019-11-07 21:28:17 +0100 |
commit | 75d23eec942e7160108ee194894b6b83ed3045d5 (patch) | |
tree | 0d01a3b94cf920c4df9b59ec824a86556b224c61 /commitpkg.in | |
parent | 6679c28625b1e48bc115290b7c41941366d44a05 (diff) | |
download | devtools32-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>
Diffstat (limited to 'commitpkg.in')
-rw-r--r-- | commitpkg.in | 4 |
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)" |