We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3781100 commit 7ffda90Copy full SHA for 7ffda90
scripts/commit-msg.hook
@@ -86,7 +86,7 @@ read_commit_message() {
86
shopt -u extglob
87
88
# ignore comments and indented lines
89
- [[ $REPLY =~ ^(#|[ ][ ]) ]]
+ [[ $REPLY =~ ^(#|) ]]
90
test $? -eq 0 || COMMIT_MSG_LINES+=("$REPLY")
91
92
[[ $REPLY =~ "# ------------------------ >8 ------------------------" ]]
@@ -483,7 +483,8 @@ validate_commit_message() {
483
484
MSG_FOR_SPELLCHECK_LINE_FINDING=$(echo "$FULL_COMMIT_MSG_WITH_SPACE" | sed -E \
485
-e "s/(['\"][^'\"]*['\"])//g" \
486
- -e "s/\bcommit[[:space:]]+[0-9a-fA-F]{7,40}\b/commit/g")
+ -e "s/\bcommit[[:space:]]+[0-9a-fA-F]{7,40}\b/commit/g" \
487
+ -e "/^ /d")
488
MSG_FOR_SPELLCHECK=$(echo "$MSG_FOR_SPELLCHECK_LINE_FINDING" | sed '/^[[:space:]]*$/d')
489
490
# Use aspell to list misspelled words according to American English, ignoring quoted text.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments