Commit 54c7524
authored
Avoid generating review drafts for merge commits
This avoids generating review drafts for merge commits unless the merge commit has modifications to the review draft (which probably means that it's different from *all* parents of the merge).
The code prior to this change tries to generate a review draft if the first parent of the merge commit introduces a review draft. (This happens if "git merge main" is done on a feature branch and main has introduced a review draft.)1 parent 81f7904 commit 54c7524
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments