When 'git status' can take seconds to complete, the output of the command can look like:
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: .gitignore
#
#
# It took 2.60 seconds to enumerate untracked files. 'status -uno'
# may speed it up, but you have to be careful not to forget to add
# new files yourself (see 'git help status').
no changes added to commit (use "git add" and/or "git commit -a")
In which case 'gits statuses' and 'gits status' fails with an error similar to:
Could not parse git status output for vf <# It took 2.05 seconds to enumerate untracked files. 'status -uno'
> <# may speed it up, but you have to be careful not to forget to add
# new files yourself (see 'git help status').
The attached patch implements a work around for this issue.
Applied the patch in this gitslave fork:
https://github.com/joelpurra/gitslave/commit/7f09f8dbcaa4f57fc9325d34a9980f192e8ffa28
https://github.com/joelpurra/gitslave
Thanks!