Merge pull request #1 from jimmywan/patch-1

Update git status to use porcelain
This commit is contained in:
Yamashita, Yuu
2015-06-03 08:11:34 +09:00

View File

@@ -20,7 +20,7 @@ verify_repo_branch() {
}
verify_repo_clean() {
! ( cd "$1" && git status --short ) | grep -q -v '^[!?][!?]'
! ( cd "$1" && git status --porcelain ) | grep -q -v '^[!?][!?]'
}
verify_repo() {