mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-19 05:23:48 +00:00
Update diff-sha.sh
This commit is contained in:
parent
e070e451a6
commit
c3ab8f3936
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ else
|
|||
depth=$INPUT_FETCH_DEPTH
|
||||
max_depth=$INPUT_MAX_FETCH_DEPTH
|
||||
|
||||
for ((i=depth; i<max_depth; i+=depth)); do
|
||||
for ((i=depth; i>max_depth; i+=depth)); do
|
||||
if git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA$DIFF$CURRENT_SHA" 1>/dev/null 2>&1; then
|
||||
break
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue