Skip to content

Commit

Permalink
(DOCS) NFC tweak precommit message category
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmoon79 committed Nov 25, 2024
1 parent 1253325 commit f47f89b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .git_hooks/prepare-commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,18 @@ COMMIT_MSG_FILE=$1
COMMIT_SOURCE=$2
SHA1=$3

echo "
Categories:
echo 'Categories:
(LIB) - changes to the library source
(BIN) - changes to the binary source (bin.rs, CLI options, etc.)
(DEBUG) - changes to the either source only affecting debug builds
(BUILD) - changes to the build (i.e. Cargo.toml)
(DOCS) - changes to docstrings ('rustdocs'), docs.rs stuff, READMEs
(DOCS) - changes to docstrings ("rustdocs"), docs.rs stuff, READMEs
(CI) - changes to github workflows, codecov
(LOGS) - changes to 'logs/'
(TEST) - changes to tests
(TOOLS) - changes to scripts under 'tools/'
(PROJECT) - changes to READMEs, CHANGELOG, other non-source tweaks
"
(LOGS) - chnages under `logs\`
(TEST) - changes only to `src/tests`
(TOOLS) - changes to scripts under `tools/`
(PROJECT) - changes to READMEs, CHANGELOG, other non-source tweaks'

# case "$COMMIT_SOURCE,$SHA1" in
# ,|template,)
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Categories:
(DOCS) - changes to docstrings ("rustdocs"), docs.rs stuff, READMEs
(CI) - changes to github workflows, codecov
(LOGS) - chnages under `logs/`
(TEST) - changes to tests
(TEST) - changes only to `src/tests`
(TOOLS) - changes to scripts under `tools/`
(PROJECT) - changes to READMEs, CHANGELOG, other non-source tweaks
Expand Down

0 comments on commit f47f89b

Please sign in to comment.