Skip to content

Commit 59d3fe8

Browse files
committed
Always reference master branch for incremental subjects
https://github.com/mbj/mutant/blob/main/docs/incremental.md#recommended-use HEAD~1 seems to be too narrow selector, referencing previous commit. That's effectively no mutation when you open a new PR.
1 parent a0e907a commit 59d3fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support/make/mutant.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ mutate-fast: ## Run mutation tests with --fail-fast
88

99
mutate-changes: ## Run incremental mutation tests
1010
@echo "Running mutation tests"
11-
@bundle exec mutant run --since HEAD~1 $(SUBJECT)
11+
@bundle exec mutant run --since master $(SUBJECT)

0 commit comments

Comments
 (0)