summaryrefslogtreecommitdiff
path: root/lib/git.zsh
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2017-11-26 20:02:21 -0700
committerTuowen Zhao <ztuowen@gmail.com>2017-11-26 20:02:21 -0700
commita5346aae8c853152be234b5b9efe4e1b3684b371 (patch)
treee1018cdebac89b322f722dd70e276b45eea50069 /lib/git.zsh
parent5e1ad5efbf59a40ef6dc6d404c6f403dff8ed436 (diff)
parente273cf004e1ff0510aee61416885f3003bcd15d9 (diff)
downloadzsh-a5346aae8c853152be234b5b9efe4e1b3684b371.tar.gz
zsh-a5346aae8c853152be234b5b9efe4e1b3684b371.tar.bz2
zsh-a5346aae8c853152be234b5b9efe4e1b3684b371.zip
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'lib/git.zsh')
-rw-r--r--lib/git.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git.zsh b/lib/git.zsh
index f7eccb81d..167b4b0ea 100644
--- a/lib/git.zsh
+++ b/lib/git.zsh
@@ -11,7 +11,7 @@ function git_prompt_info() {
# Checks if working tree is dirty
function parse_git_dirty() {
local STATUS=''
- local FLAGS
+ local -a FLAGS
FLAGS=('--porcelain')
if [[ "$(command git config --get oh-my-zsh.hide-dirty)" != "1" ]]; then
if [[ $POST_1_7_2_GIT -gt 0 ]]; then