mirror of
https://github.com/tj-actions/changed-files
synced 2025-01-29 13:34:51 +00:00
Update get-changed-paths.sh
This commit is contained in:
parent
4dc0f1f904
commit
6164e1cd7f
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ function get_diff() {
|
|||
local base="$1"
|
||||
local sha="$2"
|
||||
local filter="$3"
|
||||
local diff="${DIFF:-4}"
|
||||
local diff="${4:-$DIFF}"
|
||||
|
||||
while IFS='' read -r sub; do
|
||||
sub_commit_pre="$(git diff "$base" "$sha" -- "$sub" | { grep '^[-]Subproject commit' || true; } | awk '{print $3}')" && exit_status=$? || exit_status=$?
|
||||
|
|
Loading…
Reference in a new issue