3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-02-19 15:23:42 +00:00

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"