mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-11 03:27:46 +00:00
Update diff-sha.sh
This commit is contained in:
parent
dee73a71be
commit
6a0f4e7f4d
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ else
|
||||||
echo "Fetching remote refs..."
|
echo "Fetching remote refs..."
|
||||||
|
|
||||||
git fetch --depth="$INPUT_FETCH_DEPTH" origin +refs/heads/"$TARGET_BRANCH":refs/remotes/origin/"$TARGET_BRANCH"
|
git fetch --depth="$INPUT_FETCH_DEPTH" origin +refs/heads/"$TARGET_BRANCH":refs/remotes/origin/"$TARGET_BRANCH"
|
||||||
git branch --track "$TARGET_BRANCH" origin/"$TARGET_BRANCH" || true
|
git branch --track "$TARGET_BRANCH" origin/"$TARGET_BRANCH" 2>/dev/null || true
|
||||||
|
|
||||||
depth=$INPUT_FETCH_DEPTH
|
depth=$INPUT_FETCH_DEPTH
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue