You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,10 @@ affectedModuleDetector {
112
112
-`compareFrom`: A commit to compare the branch changes against. Can be either:
113
113
- PreviousCommit: compare against the previous commit
114
114
- ForkCommit: compare against the commit the branch was forked from
115
-
- SpecifiedBranchCommit: specify the branch to compare changes against using the `specifiedBranch` configuration before the `compareFrom` configuration
115
+
- SpecifiedBranchCommit: compare against the last commit of `$specifiedBranch` using `git rev-parse` approach.
116
+
- SpecifiedBranchCommit2: compare against the nearest ancestors with `$specifiedBranch` using `git merge base` approach.
117
+
118
+
**Note:** specify the branch to compare changes against using the `specifiedBranch` configuration before the `compareFrom` configuration
116
119
-`excludedModules`: A list of modules that will be excluded from the build process
117
120
-`includeUncommitted`: If uncommitted files should be considered affected
118
121
-`top`: The top of the git log to use. Must be used in combination with configuration `includeUncommitted = false`
Copy file name to clipboardExpand all lines: affectedmoduledetector/src/main/kotlin/com/dropbox/affectedmoduledetector/commitshaproviders/CommitShaProvider.kt
0 commit comments