From 443b6c32e773943887c9a272038053754d28946d Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 11 Nov 2022 07:47:09 -0700 Subject: [PATCH] Show progress --- diff-sha.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diff-sha.sh b/diff-sha.sh index 0a9034f7..60f440cd 100644 --- a/diff-sha.sh +++ b/diff-sha.sh @@ -150,7 +150,7 @@ else if [[ "$INPUT_SINCE_LAST_REMOTE_COMMIT" == "false" ]]; then # shellcheck disable=SC2086 - git fetch -u $EXTRA_ARGS --depth="$INPUT_FETCH_DEPTH" origin +refs/heads/"$TARGET_BRANCH":refs/remotes/origin/"$TARGET_BRANCH" + git fetch -u --progress $EXTRA_ARGS --depth="$INPUT_FETCH_DEPTH" origin +refs/heads/"$TARGET_BRANCH":refs/remotes/origin/"$TARGET_BRANCH" git branch --track "$TARGET_BRANCH" origin/"$TARGET_BRANCH" 2>/dev/null || true fi