3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-02-20 21:01:53 +00:00

Updated to use git diff

This commit is contained in:
Tonye Jack 2022-12-05 00:05:01 -07:00
parent a699a3be4a
commit 477b380579

View file

@ -220,7 +220,7 @@ else
depth=$INPUT_FETCH_DEPTH
max_depth=$INPUT_MAX_FETCH_DEPTH
while ! git merge-base "$PREVIOUS_SHA" "$CURRENT_SHA" 1>/dev/null; do
while ! git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA"..."$CURRENT_SHA"; do
echo "Fetching $depth commits..."
# shellcheck disable=SC2086