mirror of
https://github.com/pyenv/pyenv-update.git
synced 2025-11-08 11:33:49 -05:00
Merge pull request #1 from jimmywan/patch-1
Update git status to use porcelain
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user