You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ml...@apache.org on 2012/11/07 18:07:54 UTC
git commit: Summary: Add Bugfix-for line to prepare-commit-msg
Updated Branches:
refs/heads/master b42f3f53d -> 6e23cad12
Summary: Add Bugfix-for line to prepare-commit-msg
Detail: This reminds us to tag commits that should be considered for a bugfix
release, making them easier to find/apply and less likely to slip through the
cracks. Individual committers really should know best which things need to be
pushed as an immediate bugfix anyway, this makes it easy to tag things as such.
Signed-off-by: Marcus Sorensen <ma...@betterservers.com> 1352308027 -0700
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/6e23cad1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/6e23cad1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/6e23cad1
Branch: refs/heads/master
Commit: 6e23cad126471dd5e9413ba190e15ba6c74bd646
Parents: b42f3f5
Author: Marcus Sorensen <ma...@betterservers.com>
Authored: Wed Nov 7 10:07:07 2012 -0700
Committer: Marcus Sorensen <ma...@betterservers.com>
Committed: Wed Nov 7 10:07:07 2012 -0700
----------------------------------------------------------------------
tools/git/prepare-commit-msg | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/6e23cad1/tools/git/prepare-commit-msg
----------------------------------------------------------------------
diff --git a/tools/git/prepare-commit-msg b/tools/git/prepare-commit-msg
index 1addb0e..af8964b 100755
--- a/tools/git/prepare-commit-msg
+++ b/tools/git/prepare-commit-msg
@@ -64,6 +64,7 @@ cat <<EOF > $file
# Detail: Multi-line description, followed by blank line
#
# BUG-ID: CLOUDSTACK-9999
+# Bugfix-for: 4.0 (a branch that this should be considered for in a bugfix release)
# Reviewed-by: Bar Barlington <ba...@example.com>, Foo McFooson <fo...@example.com>
# Reported-by: Baz Bazelli <ba...@example.com>
# Signed-off-by: You <yo...@yourdomain.com>
@@ -76,7 +77,8 @@ SOB=$(git var GIT_AUTHOR_IDENT)
sed -i "1s/^/################################# 80 chars #####################################\n\
Summary: \n\n\
Detail: \n\n\
-BUG-ID : \n\
+BUG-ID: \n\
+Bugfix-for: \n\
Reviewed-by: \n\
Reported-by: \n\
Signed-off-by: ${SOB}\n\n/" $file