From 34281ac1475b7587b3078b6646a344cfba800dd6 Mon Sep 17 00:00:00 2001 From: lubronzhan Date: Tue, 16 Jan 2024 21:40:59 -0800 Subject: [PATCH] Print git diff change Signed-off-by: lubronzhan --- hack/actions/check-uncommitted-codegen.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/actions/check-uncommitted-codegen.sh b/hack/actions/check-uncommitted-codegen.sh index 8d62ff14aeb..b4d36ecd299 100755 --- a/hack/actions/check-uncommitted-codegen.sh +++ b/hack/actions/check-uncommitted-codegen.sh @@ -24,5 +24,6 @@ if git status -s ${TARGETS[@]} 2>&1 | grep -E -q '^\s+[MADRCU]' then echo Uncommitted changes in generated sources: git status -s ${TARGETS[@]} + git diff exit 1 fi