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:
parent
ac72938f3a
commit
97e67238ea
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue