Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

gitserver: Allow multiple ranges to be passed to Commits#62705

Merged
eseliger merged 1 commit intomainfrom
es/05-15-gitserverallowmultiplerangestobepassedtocommits
May 16, 2024
Merged

gitserver: Allow multiple ranges to be passed to Commits#62705
eseliger merged 1 commit intomainfrom
es/05-15-gitserverallowmultiplerangestobepassedtocommits

Conversation

@eseliger
Copy link
Member

This will be useful for commit searches, and is generally supported by git so why not support it here. That also lets you express A..B as B, ^A if you want to do less string concatenation, for example.

Test plan:

Made sure all existing callers pass a non-empty string to the slice if they specify the slice at all, and all existing tests still pass.

@cla-bot cla-bot bot added the cla-signed label May 15, 2024
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @eseliger and the rest of your teammates on Graphite Graphite

@github-actions github-actions bot added team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all labels May 15, 2024
@eseliger eseliger force-pushed the es/05-15-gitserverallowmultiplerangestobepassedtocommits branch from dc9d49a to 5eef1f7 Compare May 15, 2024 21:58
@eseliger eseliger marked this pull request as ready for review May 15, 2024 22:11
@eseliger eseliger requested review from a team and camdencheek May 15, 2024 22:11
This will be useful for commit searches, and is generally supported by git so why not support it here. That also lets you express `A..B` as `B, ^A` if you want to do less string concatenation, for example.

Test plan:

Made sure all existing callers pass a non-empty string to the slice if they specify the slice at all, and all existing tests still pass.
@eseliger eseliger force-pushed the es/05-15-gitserverallowmultiplerangestobepassedtocommits branch from 5eef1f7 to 83a42f6 Compare May 16, 2024 13:50
Copy link
Member

@camdencheek camdencheek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great -- thanks!

@eseliger eseliger merged commit 3594d26 into main May 16, 2024
@eseliger eseliger deleted the es/05-15-gitserverallowmultiplerangestobepassedtocommits branch May 16, 2024 15:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants