From 0ad5de36930891cc366d23443f8ab90485094134 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 14 Jun 2013 15:05:21 +0200 Subject: [Git] Gets staged changes from whole local copy, not just current subfolder --- 01_Internal.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01_Internal.zsh b/01_Internal.zsh index 0769318..d150b45 100644 --- a/01_Internal.zsh +++ b/01_Internal.zsh @@ -300,7 +300,7 @@ __get_git_status () return fi - if [ "$(git status --porcelain . | cut -c1 | tr -d ' ?\n')" != "" ] ; then + if [ "$(git status --porcelain | cut -c1 | tr -d ' ?\n')" != "" ] ; then # Got any character but « » or «?» in first column : staged changes cached="yes" fi -- cgit v1.2.3