Only check status of files matching file_pattern

This commit is contained in:
Harrison Grodin 2020-08-15 22:11:45 -04:00 committed by GitHub
parent 5222c758dd
commit 01ffd8c6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ _switch_to_repository() {
}
_git_is_dirty() {
[ -n "$(git status -s)" ]
[ -n "$(git status -s -- $INPUT_FILE_PATTERN)" ]
}
_switch_to_branch() {