From 6a0f4e7f4da054ba03646e2a9cd762ec4f0c158d Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 4 Nov 2022 18:30:36 -0600 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 ba69cf4f..27a60f10 100644 --- a/diff-sha.sh +++ b/diff-sha.sh @@ -135,7 +135,7 @@ else echo "Fetching remote refs..." git fetch --depth="$INPUT_FETCH_DEPTH" origin +refs/heads/"$TARGET_BRANCH":refs/remotes/origin/"$TARGET_BRANCH" - git branch --track "$TARGET_BRANCH" origin/"$TARGET_BRANCH" || true + git branch --track "$TARGET_BRANCH" origin/"$TARGET_BRANCH" 2>/dev/null || true depth=$INPUT_FETCH_DEPTH