3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-18 13:57:39 +00:00

Update diff-sha.sh

This commit is contained in:
Tonye Jack 2022-12-15 13:08:16 -07:00
parent bfbf803f41
commit f195837047

View file

@ -245,7 +245,7 @@ else
depth=$INPUT_FETCH_DEPTH
max_depth=$INPUT_MAX_FETCH_DEPTH
for ((i=0; i<max_depth; i*=depth)); do
for ((i=0; i<max_depth; i+=depth * 2)); do
if git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA$DIFF$CURRENT_SHA" 1>/dev/null 2>&1; then
break
else