Skip to content

Commit 6796647

Browse files
Revert "Merge pull request kcp-dev#347 from jmprusi/fix_codegenverify"
This reverts commit c83f3b0, reversing changes made to ae4e07f. Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent a96f42c commit 6796647

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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; \

hack/verify-codegen-clients.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ set -o nounset
2222
set -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
2727
ERROR: This check enforces that the client code is generated correctly.
2828
ERROR: The client code is out of date. Run the following command to re-
@@ -32,4 +32,4 @@ ERROR: The following differences were found:
3232
EOF
3333
git diff
3434
exit 1
35-
fi
35+
fi

0 commit comments

Comments
 (0)