Skip to content

Commit 2d221c1

Browse files
authored
tweak: Fix typos (tj#1046)
1 parent f5bcbe5 commit 2d221c1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ $ (main) git ...
883883
884884
## git fresh-branch
885885
886-
Create empty local branch `name`:
886+
Create empty local branch `docs`:
887887
888888
```bash
889889
$ git fresh-branch docs

check_integrity.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ check_bash_script() {
2525

2626
check_git_extras_cmd_list() {
2727
local whitelist=('extras')
28-
for cmd in ${whitelist[*]}; do
28+
for cmd in "${whitelist[@]}"; do
2929
test "$1" == "$cmd" && return
3030
done
3131

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

etc/bash_completion.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# shellcheck shell=bash
12
# bash completion support for git-extras.
23

34
_git_changelog(){

0 commit comments

Comments
 (0)