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