tweak: Fix typos (#1046)

This commit is contained in:
Edwin Kofler 2023-05-17 19:19:24 -07:00 committed by GitHub
parent f5bcbe5b0d
commit 2d221c1b67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -883,7 +883,7 @@ $ (main) git ...
## git fresh-branch ## git fresh-branch
Create empty local branch `name`: Create empty local branch `docs`:
```bash ```bash
$ git fresh-branch docs $ git fresh-branch docs

View file

@ -25,7 +25,7 @@ check_bash_script() {
check_git_extras_cmd_list() { check_git_extras_cmd_list() {
local whitelist=('extras') local whitelist=('extras')
for cmd in ${whitelist[*]}; do for cmd in "${whitelist[@]}"; do
test "$1" == "$cmd" && return test "$1" == "$cmd" && return
done done
@ -54,7 +54,7 @@ check_documentation() {
check_Commands_page() { check_Commands_page() {
# These are special cases. All listed together, so we ignore them # These are special cases. All listed together, so we ignore them
local whitelist=('bug' 'chore' 'feature' 'refactor') local whitelist=('bug' 'chore' 'feature' 'refactor')
for cmd in ${whitelist[*]}; do for cmd in "${whitelist[@]}"; do
test "$1" == "$cmd" && return test "$1" == "$cmd" && return
done done

View file

@ -1,3 +1,4 @@
# shellcheck shell=bash
# bash completion support for git-extras. # bash completion support for git-extras.
_git_changelog(){ _git_changelog(){