3
0
Fork 0
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:
Tonye Jack 2023-02-14 04:45:30 -07:00 committed by GitHub
parent 4dc0f1f904
commit 6164e1cd7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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=$?