Update diff-sha.sh

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Tonye Jack 2022-11-04 14:22:55 -06:00 committed by GitHub
parent ac72938f3a
commit 97e67238ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ else
depth=$INPUT_FETCH_DEPTH
while ! git merge-base $TARGET_BRANCH $CURRENT_BRANCH > /dev/null; do
while ! git merge-base "$TARGET_BRANCH" "$CURRENT_BRANCH" > /dev/null; do
depth=$((depth+1024))
git fetch -q --deepen=$depth origin "$CURRENT_BRANCH":"$CURRENT_BRANCH"