File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ verify-codegen:
8484
8585 $(MAKE) codegen
8686
87- if ! git diff -I '^Copyright.*' - -quiet HEAD; then \
87+ if ! git diff --quiet HEAD; then \
8888 git diff; \
8989 echo "You need to run 'make codegen' to update generated files and commit them"; \
9090 exit 1; \
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ set -o nounset
2222set -o pipefail
2323
2424" $( dirname " ${BASH_SOURCE[0]} " ) /update-codegen-clients.sh"
25- if ! git diff -I ' ^Copyright.* ' - -quiet --exit-code -- pkg/client; then
25+ if ! git diff --quiet --exit-code -- pkg/client; then
2626 cat << EOF
2727ERROR: This check enforces that the client code is generated correctly.
2828ERROR: The client code is out of date. Run the following command to re-
@@ -32,4 +32,4 @@ ERROR: The following differences were found:
3232EOF
3333 git diff
3434 exit 1
35- fi
35+ fi
You can’t perform that action at this time.
0 commit comments