diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-03-28 11:50:47 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-03-28 11:50:47 +0100 |
commit | 422887043eb549fe9bbf3f278c9cd3c33f62bea0 (patch) | |
tree | f92c910f6f5823a02a0bcf4ebd2cf8d07d4b0f0f /01_Internal.zsh | |
parent | 728acf08bb0b5d61b4c89ec27c8192c8feacce20 (diff) |
Got it :) --- Don’t guilt if no .git/patches folder....
Diffstat (limited to '01_Internal.zsh')
-rw-r--r-- | 01_Internal.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
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) |