Merge pull request #91 from HarrisonGrodin/patch-1

Only check status of files matching file_pattern
This commit is contained in:
Stefan Zweifel 2020-08-16 19:31:45 +02:00 committed by GitHub
commit b5320678c1
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() {