From 061ec0873d5cf04d559bf3f4dec9099101b575c1 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 13 Aug 2022 14:45:07 -0600 Subject: [PATCH] chore: remove unused code --- diff-sha.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/diff-sha.sh b/diff-sha.sh index 151e28f8f74..1aad74d5948 100644 --- a/diff-sha.sh +++ b/diff-sha.sh @@ -36,7 +36,6 @@ git rev-parse --quiet --verify "$CURRENT_SHA^{commit}" 1>/dev/null 2>&1 && exit_ if [[ $exit_status -ne 0 ]]; then echo "::error::Unable to locate the current sha: $CURRENT_SHA" - git --version echo "::error::You seem to be missing 'fetch-depth: 0' or 'fetch-depth: 2'. See https://github.com/tj-actions/changed-files#usage" exit 1 else