3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-16 23:17:49 +00:00

Update diff-sha.sh

This commit is contained in:
Tonye Jack 2022-12-14 08:32:25 -07:00 committed by GitHub
parent a1a2be24bd
commit 9dc80210cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -253,7 +253,7 @@ else
echo "Fetching $i commits..."
# shellcheck disable=SC2086
git fetch $EXTRA_ARGS -u --progress --depth="$i" origin +"$GITHUB_REF":refs/remotes/origin/"$CURRENT_BRANCH" 1>/dev/null 2>&1
git fetch $EXTRA_ARGS -u --progress --deepen="$i" origin $TARGET_BRANCH $CURRENT_SHA 1>/dev/null 2>&1
done
if ((i > max_depth)); then