From 9b98cf9c58276d381a5f002a4e3dd9479dfdddeb Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 25 Feb 2021 11:35:02 -0500 Subject: [PATCH] ci: display git diff instead of status git diff explains better what changed than git status. Signed-off-by: Paul --- scripts/check_git_status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_git_status.sh b/scripts/check_git_status.sh index 7476afc8f3222..d1d6de34e0546 100755 --- a/scripts/check_git_status.sh +++ b/scripts/check_git_status.sh @@ -2,7 +2,7 @@ if [ $(git status --porcelain | wc -c) -gt 0 ]; then echo "\nERR: The git repository state changed after the build, this should not happen.\n" - git status + git --no-pager diff echo "\nHINT: Did you update and commit your 'yarn.lock' ?" echo "\n You can also check your '.gitgnore'." exit 1