1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-11 18:00:41 +01:00

fix(git-commit-template): modify the keyword perf

This commit is contained in:
Ghasem Shirdel
2022-02-11 10:22:50 +03:30
committed by GitHub
parent 80ec398a5c
commit 304a75c652

View File

@@ -15,7 +15,7 @@ git_commit_template() {
# Valid types # Valid types
TYPES=("feat" "fix" "docs" "style" "refactor" TYPES=("feat" "fix" "docs" "style" "refactor"
"pref" "test" "build" "ci" "chore" "revert") "perf" "test" "build" "ci" "chore" "revert")
NUMBERS=("1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11") NUMBERS=("1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11")
@@ -29,7 +29,7 @@ git_commit_template() {
the code (white-space, formatting, missing semi-colons, etc).\n" the code (white-space, formatting, missing semi-colons, etc).\n"
printf "${CYAN}5. refactor${RESET} - A Code change that neither fixes a bug \ printf "${CYAN}5. refactor${RESET} - A Code change that neither fixes a bug \
nor adds a feature.\n" nor adds a feature.\n"
printf "${CYAN}6. pref${RESET} - A code change that improves performance.\n" printf "${CYAN}6. perf${RESET} - A code change that improves performance.\n"
printf "${CYAN}7. test${RESET} - Adding missing tests or correcting existing \ printf "${CYAN}7. test${RESET} - Adding missing tests or correcting existing \
tests.\n" tests.\n"
printf "${CYAN}8. build${RESET} - Changes that effect the build system or \ printf "${CYAN}8. build${RESET} - Changes that effect the build system or \