GH-1140 add additional uninitialized variable coverage
parent
3eb5e037f9
commit
f5c483cfaa
|
|
@ -72,7 +72,7 @@ function _git-hide-status {
|
|||
|
||||
function _git-status {
|
||||
[[ "${SCM_GIT_IGNORE_UNTRACKED}" = "true" ]] && local git_status_flags='-uno'
|
||||
git status --porcelain ${git_status_flags} 2> /dev/null
|
||||
git status --porcelain ${git_status_flags:-} 2> /dev/null
|
||||
}
|
||||
|
||||
function _git-status-counts {
|
||||
|
|
|
|||
Loading…
Reference in New Issue