Skip to content

Commit 260dfdf

Browse files
committed
Rename read_commit_msg to read_commit_message
Because: * It's consistent with `validate_commit_message`.
1 parent 117df52 commit 260dfdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hook.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ display_warnings() {
8383
# Read the contents of the commit msg into an array of lines.
8484
#
8585

86-
read_commit_msg() {
86+
read_commit_message() {
8787
# reset commit_msg_lines
8888
COMMIT_MSG_LINES=()
8989

@@ -231,7 +231,7 @@ fi
231231

232232
while true; do
233233

234-
read_commit_msg
234+
read_commit_message
235235

236236
validate_commit_message
237237

0 commit comments

Comments
 (0)