Fix git_is_dirty

This commit is contained in:
Ivan Malison 2014-04-08 11:06:39 -07:00
parent d8d47433d0
commit ea3962b380

View File

@ -5,7 +5,7 @@ function parse_git_branch() {
}
function git_is_dirty() {
git diff-index --quiet --cached HEAD && git diff-files --quiet
! test -z "$(git status --porcelain)"
}
function current_shell() {