From d615f6437408d66fa8aad031eb45942bf84fed86 Mon Sep 17 00:00:00 2001
From: Felipe Contreras <felipe.contreras@gmail.com>
Date: Sun, 21 Apr 2013 02:10:21 -0500
Subject: git: fix parse_git_dirty()

If oh-my-zsh.hide-status is configured, the 'clean' code won't be
generated, and some themes might end up distorted. Let's generate the
'clean' code even when we don't want the show the dirty status.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 lib/git.zsh | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'lib/git.zsh')

diff --git a/lib/git.zsh b/lib/git.zsh
index 76fe9b142..353c42f3c 100644
--- a/lib/git.zsh
+++ b/lib/git.zsh
@@ -21,6 +21,8 @@ parse_git_dirty() {
     else
       echo "$ZSH_THEME_GIT_PROMPT_CLEAN"
     fi  
+  else
+    echo "$ZSH_THEME_GIT_PROMPT_CLEAN"
   fi  
 }
 
-- 
cgit v1.2.3-70-g09d2