From d9be0ccb5e69da56f3db7a8c69bc5caab52f729c Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 12 Dec 2022 11:16:39 -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 d8ef6d6b..cd31e541 100644 --- a/diff-sha.sh +++ b/diff-sha.sh @@ -224,7 +224,7 @@ else echo "Fetching $i commits..." # shellcheck disable=SC2086 - git fetch $EXTRA_ARGS -u --progress --deepen="$i" origin "$CURRENT_BRANCH" + git fetch $EXTRA_ARGS -u --progress --deepen="$i" origin +"$GITHUB_REF":refs/remotes/origin/"$CURRENT_BRANCH" if git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA$DIFF$CURRENT_SHA" 1>/dev/null 2>&1; then break