From 422887043eb549fe9bbf3f278c9cd3c33f62bea0 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 28 Mar 2013 11:50:47 +0100 Subject: Got it :) --- Don’t guilt if no .git/patches folder.... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 01_Internal.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01_Internal.zsh b/01_Internal.zsh index e0b543f..183a970 100644 --- a/01_Internal.zsh +++ b/01_Internal.zsh @@ -247,7 +247,7 @@ __get_guilt_series () __debug -n " Guilt" - if ( __cmd_exists guilt && guilt status >/dev/null 2>&- ) + if ( __cmd_exists guilt && test -d $GIT_DIR/patches && guilt status >/dev/null 2>&- ) then applied=$(guilt applied 2>/dev/null | wc -l) unapplied=$(guilt unapplied 2>/dev/null | wc -l) -- cgit v1.2.3