Skip to content

Commit 5c31f1a

Browse files
Update content/github/collaborating-with-issues-and-pull-requests/about-pull-requests.md
Co-authored-by: Felicity Chapman <[email protected]>
1 parent e0856f2 commit 5c31f1a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/github/collaborating-with-issues-and-pull-requests/about-pull-requests.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ When you create a pull request, you can choose to create a pull request that is
5555

5656
### Differences between commits on compare and pull request pages
5757

58-
Compare pages show a compare between the tip of the head ref and the current common ancestor (i.e. merge base) of the head and base ref. On the other hand, pull request pages show a compare between the tip of the head ref and the common ancestor of the head and base ref at the time when the pull request was created. In other words, the merge base used for the comparison might be different.
58+
The compare and pull request pages use different methods to calculate the diff for changed files:
59+
60+
- Compare pages show the diff between the tip of the head ref and the current common ancestor (that is, the merge base) of the head and base ref.
61+
- Pull request pages show the diff between the tip of the head ref and the common ancestor of the head and base ref at the time when the pull request was created. Consequently, the merge base used for the comparison might be different.
5962

6063
### Further reading
6164

0 commit comments

Comments
 (0)