Merge pull request #91 from HarrisonGrodin/patch-1
Only check status of files matching file_pattern
This commit is contained in:
commit
b5320678c1
@ -33,7 +33,7 @@ _switch_to_repository() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_git_is_dirty() {
|
_git_is_dirty() {
|
||||||
[ -n "$(git status -s)" ]
|
[ -n "$(git status -s -- $INPUT_FILE_PATTERN)" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
_switch_to_branch() {
|
_switch_to_branch() {
|
||||||
|
Loading…
Reference in New Issue
Block a user