Skip to content

Commit cec2ea2

Browse files
committed
ENH: Reference GitHub issue tracker in pre-commit message
1 parent 088f31e commit cec2ea2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Utilities/Hooks/commit-msg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ while IFS='' read line; do
5656
PERF: - performance improvement
5757
STYLE: - no logic impact (indentation, comments)
5858
WIP: - Work In Progress not ready for merge
59-
To reference JIRA issue XXXX, add " (#ITK-XXXX)" to the END of the FIRST line.'
59+
To reference GitHub issue XXXX, add "Issue #XXXX" to the commit message.
60+
If the issue addresses an open issue, add "Closes #XXXX" to the message.'
6061

6162
# Reject bug number reference that CDash rejects.
6263
echo "$line" |

0 commit comments

Comments
 (0)