Skip to content

Remove similar trailer keys from commit hook - #226

Merged
jserv merged 1 commit into
sysprog21:masterfrom
lumynou5:master
Mar 4, 2025
Merged

jserv merged 1 commit into
sysprog21:masterfrom
lumynou5:master

Conversation

@lumynou5

@lumynou5 lumynou5 commented Mar 4, 2025

Copy link
Copy Markdown
Contributor

The duplicated "Close" and "Closes" keys will possibly cause inconsistency between commit messages. The one being kept is "Closes" because the implied subject is "this patch", so it should complete the following sentence:

This patch [closes]...

just like sentences in the body of a message.

"Bug" is also removed due to its similarity to "Closes a bug".

Change-Id: Idea7c0310249c603e550a7a4e27df490efe13d4c

The duplicated "Close" and "Closes" keys will possibly cause
inconsistency between commit messages.  The one being kept is "Closes"
because the implied subject is "this patch", so it should complete the
following sentence:

    This patch [closes]...

just like sentences in the body of a message.

"Bug" is also removed due to its similarity to "Closes a bug".

Change-Id: Idea7c0310249c603e550a7a4e27df490efe13d4c
@jserv
jserv merged commit 474f638 into sysprog21:master Mar 4, 2025
@jserv

jserv commented Mar 4, 2025

Copy link
Copy Markdown
Contributor

Thank @lumynou5 for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants