From f5c483cfaae9721bae5070e4d5eea571ccab921e Mon Sep 17 00:00:00 2001 From: Ethan Edwards Date: Tue, 6 Feb 2018 11:27:28 -0600 Subject: [PATCH] GH-1140 add additional uninitialized variable coverage --- themes/githelpers.theme.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/githelpers.theme.bash b/themes/githelpers.theme.bash index e6bda810..66279faf 100644 --- a/themes/githelpers.theme.bash +++ b/themes/githelpers.theme.bash @@ -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 {