GH-1140 add additional uninitialized variable coverage
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user