You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 20, 2023. It is now read-only.
Currently, we use prepare-commit-msg to include "Co-authors: {...coauthors}` in the commit body. However, if the author exits the commit editor, because there is a non-empty string included in the body, it counts as an actual commit message in your history.
Desired Behavior
If we included a commit-msg hook that checked if the body contains only empty lines and the Co-authors: tag, then we know the commit is incomplete.
Credit to @andersonvom for discovering this issue!
Current Behavior
Currently, we use
prepare-commit-msgto include "Co-authors: {...coauthors}` in the commit body. However, if the author exits the commit editor, because there is a non-empty string included in the body, it counts as an actual commit message in your history.Desired Behavior
If we included a
commit-msghook that checked if the body contains only empty lines and theCo-authors:tag, then we know the commit is incomplete.Credit to @andersonvom for discovering this issue!