Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3781100

Browse files
committed
Fix line counting of commit message hook
The parenthesis was accidentally deleted in the previous commit. Change-Id: I8938e339057335d1604f535d3695ffd242bb8e92
1 parent 0b6f831 commit 3781100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎scripts/commit-msg.hook

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ build_commit_trailer_regex() {
208208
TRAILER_REGEX+="$each|"
209209
done
210210
# Remove the trailing pipe, then add a separator and blank space pattern.
211-
TRAILER_REGEX="${TRAILER_REGEX%|})[$separators][[:blank:]]*"
211+
TRAILER_REGEX="${TRAILER_REGEX%|})[$separators][[:blank:]]*)"
212212
fi
213213

214214
# Append standalone trailer keys.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /