From aba4e5712baff31f62a76d7af30a3d2deb0db7cb Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 5 Dec 2022 14:21:07 -0700 Subject: [PATCH] Update diff-sha.sh --- diff-sha.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diff-sha.sh b/diff-sha.sh index edc1f3d0..4644cfcf 100644 --- a/diff-sha.sh +++ b/diff-sha.sh @@ -225,7 +225,7 @@ else depth=$INPUT_FETCH_DEPTH max_depth=$INPUT_MAX_FETCH_DEPTH - while ! git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA"..."$CURRENT_SHA"; do + while ! git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA"..."$CURRENT_SHA" 1>/dev/null 2>&1; do echo "Fetching $depth commits..." # shellcheck disable=SC2086