diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 183e1bea2a5..7940e5f126d 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -926,7 +926,7 @@ function codegen::protobindings() { fi for api in "${apis[@]}"; do - git ls-files -z -cmo --exclude-standard ":(glob)${api}"/'**/api.pb.go' \ + git_find -z ":(glob)${api}"/'**/api.pb.go' \ | xargs -0 rm -f done