Skip to content

Commit

Permalink
tweak: Fix typos (tj#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall authored and vanpipy committed Sep 14, 2023
1 parent 0fda955 commit 80b3738
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ $ (main) git ...
## git fresh-branch
Create empty local branch `name`:
Create empty local branch `docs`:
```bash
$ git fresh-branch docs
Expand Down
4 changes: 2 additions & 2 deletions check_integrity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ check_bash_script() {

check_git_extras_cmd_list() {
local whitelist=('extras')
for cmd in ${whitelist[*]}; do
for cmd in "${whitelist[@]}"; do
test "$1" == "$cmd" && return
done

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

Expand Down
1 change: 1 addition & 0 deletions etc/bash_completion.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# shellcheck shell=bash
# bash completion support for git-extras.

_git_changelog(){
Expand Down

0 comments on commit 80b3738

Please sign in to comment.