Skip to content

Commit 5241961

Browse files
authored
Branch was updated using the 'autoupdate branch' Actions workflow.
2 parents 05951ed + 1ac145f commit 5241961

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ When you create a pull request, you can choose to create a pull request that is
5353

5454
{% data reusables.pull_requests.mark-ready-review %} You can convert a pull request to a draft at any time. For more information, see "[Changing the stage of a pull request](/articles/changing-the-stage-of-a-pull-request)."
5555

56+
### Differences between commits on compare and pull request pages
57+
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.
62+
5663
### Further reading
5764

5865
- "[Pull request](/articles/github-glossary/#pull-request)" in the {% data variables.product.prodname_dotcom %} glossary

contributing/content-style-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ When code examples refer to a larger file, show the relevant section of the file
118118

119119
```
120120
on:
121-
schedule:
122-
- cron: "40 19 * * *"
121+
schedule:
122+
- cron: "40 19 * * *"
123123
```
124124

125125
- **Avoid:**

0 commit comments

Comments
 (0)