mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-18 17:33:39 +00:00
Fix update-mocks to use better globs
This was fixed in other update scripts, but this one was already merged.
This commit is contained in:
parent
a58e899392
commit
c3e0a0a0b3
@ -49,8 +49,10 @@ function git_find() {
|
||||
# modified and untracked files because this might be running against code
|
||||
# which is not tracked by git yet.
|
||||
git ls-files -cmo --exclude-standard \
|
||||
':!:vendor/*' \
|
||||
':!:third_party/*' \
|
||||
':!:vendor/*' `# catches vendor/...` \
|
||||
':!:*/vendor/*' `# catches any subdir/vendor/...` \
|
||||
':!:third_party/*' `# catches third_party/...` \
|
||||
':!:*/third_party/*' `# catches third_party/...` \
|
||||
':!:*/testdata/*' \
|
||||
"$@"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user