diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-06-14 15:05:21 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-06-14 15:05:21 +0200 |
commit | 0ad5de36930891cc366d23443f8ab90485094134 (patch) | |
tree | 6a74453b044ec1863c0bfa9496c219a912b494e3 | |
parent | a0103af7c8fa6540ca807a229e8979e12214e1e2 (diff) |
[Git] Gets staged changes from whole local copy, not just current subfolder
-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 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 |