Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "2a6efce13b37ff3271e66169d3196cc2",
"specHash": "93853d65dd4a5c22ecd17ac37aca5790",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -2328,7 +2328,7 @@
},
{
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/Schema\/WebhookPush.php",
"hash": "171e36009f5289b3bc1a8f020c257a2c"
"hash": "03aa5b1ee86b34033082f72dfe60e391"
},
{
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/Schema\/WebhookRegistryPackagePublished.php",
Expand Down
4 changes: 2 additions & 2 deletions clients/GitHubEnterprise-3.10/src/Schema/WebhookPush.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
}
}
},
"description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https:\\/\\/docs.github.com\\/enterprise-server@3.10\\/rest\\/commits) to fetch additional commits. This limit is applied to timeline events only and isn\'t applied to webhook deliveries."
"description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 2048 commits. If necessary, you can use the [Commits API](https:\\/\\/docs.github.com\\/enterprise-server@3.10\\/rest\\/commits) to fetch additional commits."
},
"compare": {
"type": "string",
Expand Down Expand Up @@ -1634,7 +1634,7 @@
/**
* after: The SHA of the most recent commit on `ref` after the push.
* before: The SHA of the most recent commit on `ref` before the push.
* commits: An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/enterprise-server@3.10/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.
* commits: An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/enterprise-server@3.10/rest/commits) to fetch additional commits.
* compare: URL that shows the changes in this `ref` update, from the `before` commit to the `after` commit. For a newly created `ref` that is directly based on the default branch, this is the comparison between the head of the default branch and the `after` commit. Otherwise, this shows all commits until the `after` commit.
* created: Whether this push created the `ref`.
* deleted: Whether this push deleted the `ref`.
Expand Down
7 changes: 3 additions & 4 deletions etc/specs/GitHubEnterprise-3.10/current.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25164,7 +25164,7 @@ paths:
get:
summary: Compare two commits
description: |-
Compares two commits against one another. You can compare branches in the same repository, or you can compare branches that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see "[Understanding connections between repositories](https://docs.github.com/enterprise-server@3.10/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."
Compares two commits against one another. You can compare refs (branches or tags) and commit SHAs in the same repository, or you can compare refs and commit SHAs that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see "[Understanding connections between repositories](https://docs.github.com/enterprise-server@3.10/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."

This endpoint is equivalent to running the `git log BASE..HEAD` command, but it returns commits in a different order. The `git log BASE..HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order.

Expand Down Expand Up @@ -184934,9 +184934,8 @@ components:
description: An array of commit objects describing the pushed commits. (Pushed
commits are all commits that are included in the `compare` between the
`before` commit and the `after` commit.) The array includes a maximum
of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/enterprise-server@3.10/rest/commits)
to fetch additional commits. This limit is applied to timeline events
only and isn't applied to webhook deliveries.
of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/enterprise-server@3.10/rest/commits)
to fetch additional commits.
type: array
items:
title: Commit
Expand Down