mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
tweak: Fix typos (#1046)
This commit is contained in:
parent
f5bcbe5b0d
commit
2d221c1b67
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
# shellcheck shell=bash
|
||||||
# bash completion support for git-extras.
|
# bash completion support for git-extras.
|
||||||
|
|
||||||
_git_changelog(){
|
_git_changelog(){
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue