-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitserver: Implement CommitsUniqueToBranch using Commits #62513
Merged
eseliger
merged 1 commit into
main
from
es/05-08-gitserverimplementcommitsuniquetobranchusingcommits
May 10, 2024
Merged
gitserver: Implement CommitsUniqueToBranch using Commits #62513
eseliger
merged 1 commit into
main
from
es/05-08-gitserverimplementcommitsuniquetobranchusingcommits
May 10, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced May 8, 2024
7a03a1c
to
6454f98
Compare
328eaa6
to
52ad1ff
Compare
This was referenced May 8, 2024
Graphite Automations"Assign Source to gitserver PRs" took an action on this PR • (05/08/24)3 assignees were added to this PR based on Geoffrey Gilmore's automation. |
ggilmore
reviewed
May 8, 2024
ggilmore
approved these changes
May 8, 2024
pjlast
reviewed
May 9, 2024
6454f98
to
f2bf72e
Compare
52ad1ff
to
f1f50cb
Compare
ecd1764
to
6d0b40a
Compare
f1f50cb
to
2bf43b1
Compare
6d0b40a
to
0a08be5
Compare
2bf43b1
to
bba7e86
Compare
This was referenced May 10, 2024
0a08be5
to
4e1c78e
Compare
5cb7b4d
to
e0513d4
Compare
4e1c78e
to
4efccd4
Compare
e0513d4
to
0301fe4
Compare
This PR changes the implementation of CommitsUniqueToBranch to use the existing Commits API. The range syntax HEAD..branch is equivalent to `branch ^HEAD` (see git log documentation). Commits also already handles subrepo perms correctly so we don't need to reimplement that in here. We can then stitch together the expected response from that. Test plan: Verified the git command does the same, and the existing unit and E2E tests still pass.
0301fe4
to
c74a757
Compare
This was referenced May 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cla-signed
team/product-platform
team/source
Tickets under the purview of Source - the one Source to graph it all
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR changes the implementation of CommitsUniqueToBranch to use the existing Commits API.
The range syntax HEAD..branch is equivalent to
branch ^HEAD
(see git log documentation). Commits also already handles subrepo perms correctly so we don't need to reimplement that in here.We can then stitch together the expected response from that.
Test plan:
Verified the git command does the same, and the existing unit and E2E tests still pass.