From b50ff9065aba0e25ea077d86f18cbbca49655cbe Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Tue, 29 Oct 2024 11:31:26 +0100 Subject: [PATCH] ci: log changed files log changed files Signed-off-by: Madhu Rajanna --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 201d42c..38b0b08 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,8 @@ all: check-changes: - output=`git status -z *.go | tr '\0' '\n'`; if test -z "$$output"; then echo "all good"; else echo "files got changed" ; exit 1; fi + git diff + output=`git status -z *.go | tr '\0' '\n'`; if test -z "$$output"; then echo "all good"; else echo "files got changed\n $$output" ; exit 1; fi clean-deps: rm -rf bin dist github.com google