XcodeSelectiveTesting
XcodeSelectiveTesting copied to clipboard
Add Option to Exclude Destination Branch Changes
Currently, the changes made are being determined by the command git diff <destination branch>..<source branch>
. This command results in changes made in the destination branch as well.
Some CI tools have option to merge the source branch into the destination with the git clone step itself. In this case, changes made in the destination branch become irrelevant for determining the affected targets.
For these scenarios, we should use the git diff <destination branch>...<source branch>
command to accurately determine the effective change set.
Proposal
Add one more command line option to exclude destination branch changes.