Think we just want to grab files changed between the last native push eg $LAST_IOS and the current commit $COMMIT_HASH which I think is what git diff --name-only $LAST_IOS..$COMMIT_HASH does.
the prior git rev-list -> git diff-tree was pulling out files that didn't actually change between the two commits but had reverted changes made to them. So in the process of getting to $LAST_IOS eg Podfile changed but we reverted the changes in the end so it didn't actually change.
Think we just want to grab files changed between the last native push eg $LAST_IOS and the current commit $COMMIT_HASH which I think is what
git diff --name-only $LAST_IOS..$COMMIT_HASH
does.the prior git rev-list -> git diff-tree was pulling out files that didn't actually change between the two commits but had reverted changes made to them. So in the process of getting to $LAST_IOS eg Podfile changed but we reverted the changes in the end so it didn't actually change.