mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 13:47:20 +00:00
fix: determining the merge-base with limited history.
This commit is contained in:
parent
33d8d67443
commit
69b90fbdbe
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ else
|
||||||
depth=$INPUT_FETCH_DEPTH
|
depth=$INPUT_FETCH_DEPTH
|
||||||
max_depth=$INPUT_MAX_FETCH_DEPTH
|
max_depth=$INPUT_MAX_FETCH_DEPTH
|
||||||
|
|
||||||
while ! git diff --name-only --ignore-submodules=all "$PREVIOUS_SHA"..."$CURRENT_SHA" 1>/dev/null; do
|
while ! git merge-base "$PREVIOUS_SHA" "$CURRENT_SHA" 1>/dev/null; do
|
||||||
echo "Fetching $depth commits..."
|
echo "Fetching $depth commits..."
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
|
|
Loading…
Reference in a new issue