Skip to content

Commit

Permalink
Document use of three dot diff
Browse files Browse the repository at this point in the history
Documents change proposed in infection/infection#1654
  • Loading branch information
bdsl committed Jan 24, 2022
1 parent 7d2ece0 commit 24c4a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/command-line-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ git fetch --depth=1 origin $GITHUB_BASE_REF
infection.phar --git-diff-filter=A
```

This command will mutate only those files, that were added in the Pull Request. The diff is done between the current branch and the base branch.
This command will mutate only those files that were added in the Pull Request. The diff is done between the current branch and a common ancestor of it and the base branch, using git's three-dot diff.

> It's possible to configure the base branch, see [`--git-diff-base`](/guide/command-line-options.html#git-diff-base) option
Expand Down

0 comments on commit 24c4a52

Please sign in to comment.