diff --git a/Makefile b/Makefile index 83813f53c6fac..23ff1f0abe3a2 100644 --- a/Makefile +++ b/Makefile @@ -1508,6 +1508,7 @@ endif # Unlike protos-up-to-date, this target runs locally. .PHONY: protos-up-to-date/host protos-up-to-date/host: must-start-clean/host grpc/host + @if ! git diff --quiet; then \ ./build.assets/please-run.sh "protos gRPC" "make grpc"; \ exit 1; \ fi