commitpkg: clearly delineate the commit message template and the rationale
In commit 75d23eec94
we moved to include
commitpkg arguments as the first line of the svn commit message, but we
simply dumped the result after the version number without separating the
two, increasing the cognitive burden of parsing the rationale. Since the
whole point of the change was to make it easier to see what happened
when using git log --oneline (reducing the cognitive burden of parsing
'pretty' output with author/date info), it makes sense to also delineate
the reason correctly.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
This commit is contained in:
parent
f85a58a0a6
commit
68f0bff172
|
@ -112,7 +112,7 @@ if [[ -n $(svn status -q) ]]; then
|
|||
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)"
|
||||
|
|
Loading…
Reference in New Issue