Skip to content

Commit 6e23cad

Browse files
author
Marcus Sorensen
committed
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 <marcus@betterservers.com> 1352308027 -0700
1 parent b42f3f5 commit 6e23cad

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tools/git/prepare-commit-msg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ cat <<EOF > $file
6464
# Detail: Multi-line description, followed by blank line
6565
#
6666
# BUG-ID: CLOUDSTACK-9999
67+
# Bugfix-for: 4.0 (a branch that this should be considered for in a bugfix release)
6768
# Reviewed-by: Bar Barlington <bar@example.com>, Foo McFooson <foo@example.com>
6869
# Reported-by: Baz Bazelli <baz@example.com>
6970
# Signed-off-by: You <you@yourdomain.com>
@@ -76,7 +77,8 @@ SOB=$(git var GIT_AUTHOR_IDENT)
7677
sed -i "1s/^/################################# 80 chars #####################################\n\
7778
Summary: \n\n\
7879
Detail: \n\n\
79-
BUG-ID : \n\
80+
BUG-ID: \n\
81+
Bugfix-for: \n\
8082
Reviewed-by: \n\
8183
Reported-by: \n\
8284
Signed-off-by: ${SOB}\n\n/" $file

0 commit comments

Comments
 (0)