mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-20 21:01:53 +00:00
Update diff-sha.sh
This commit is contained in:
parent
fe3a37012f
commit
3b10cebd3d
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ else
|
|||
echo "Fetching $depth commits..."
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
git fetch -u --progress $EXTRA_ARGS --deepen="$depth" origin +refs/heads/"$CURRENT_BRANCH":refs/remotes/origin/"$CURRENT_BRANCH"
|
||||
git fetch -u --progress $EXTRA_ARGS --depth="$depth" origin +refs/heads/"$CURRENT_BRANCH":refs/remotes/origin/"$CURRENT_BRANCH"
|
||||
|
||||
if [[ $depth -gt $max_depth ]]; then
|
||||
echo "::error::Unable to locate a common ancestor between $TARGET_BRANCH and $CURRENT_SHA"
|
||||
|
|
Loading…
Add table
Reference in a new issue