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 ee970f0bde
Signed-off-by: Daniel M. Capella <polyzen@archlinux.org>
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
This commit is contained in:
parent
6679c28625
commit
75d23eec94
|
@ -109,10 +109,10 @@ if [[ -z $server ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n $(svn status -q) ]]; then
|
if [[ -n $(svn status -q) ]]; then
|
||||||
msgtemplate="upgpkg: $pkgbase $(get_full_version)"$'\n\n'
|
msgtemplate="upgpkg: $pkgbase $(get_full_version)"
|
||||||
if [[ -n $1 ]]; then
|
if [[ -n $1 ]]; then
|
||||||
stat_busy 'Committing changes to trunk'
|
stat_busy 'Committing changes to trunk'
|
||||||
svn commit -q -m "${msgtemplate}${1}" || die
|
svn commit -q -m "${msgtemplate} ${1}" || die
|
||||||
stat_done
|
stat_done
|
||||||
else
|
else
|
||||||
msgfile="$(mktemp)"
|
msgfile="$(mktemp)"
|
||||||
|
|
Loading…
Reference in New Issue