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 2bae253

Browse files
charliechiouEricccTaiwan
andcommitted
Fix missing Change-Id
The pull request 43a311d mistakenly set the trailers_by variable to DEFAULT_TRAILERS_BY, causing the change ID to disappear. Change the variable to KNOWN_TRAILERS_BY to ensure the change ID appears correctly. Co-authored-by: Cheng-Yang Chou <yphbchou0911@gmail.com> Change-Id: I4e3b4bfa06aba31bed2c26925ecfa5593a3d327b
1 parent e83f2fb commit 2bae253

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
@@ -186,7 +186,7 @@ build_commit_trailer_regex() {
186186
done < <(git config --get-regexp 'trailer.*.key')
187187

188188
if [[ ${#trailers_by[@]} -eq 0 ]]; then
189-
trailers_by=("${DEFAULT_TRAILERS_BY[@]}")
189+
trailers_by=("${KNOWN_TRAILERS_BY[@]}")
190190
fi
191191

192192
# Possible trailers :

0 commit comments

Comments
(0)

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