Skip to content

Add --commits flag to restore for lists and revspec ranges#29

Merged
joshfriend merged 1 commit into
block:mainfrom
staktrace:commitspec
May 20, 2026
Merged

Add --commits flag to restore for lists and revspec ranges#29
joshfriend merged 1 commit into
block:mainfrom
staktrace:commitspec

Conversation

@staktrace
Copy link
Copy Markdown
Contributor

Supports a comma-separated list of items where each item is either a single SHA/ref or a revspec containing ".." (e.g. "A..HEAD"), expanded via git rev-list --first-parent. The existing --commit flag is kept as a hidden, deprecated alias for backwards compatibility.

@staktrace staktrace requested a review from joshfriend as a code owner May 19, 2026 13:50
@joshfriend joshfriend force-pushed the commitspec branch 2 times, most recently from 863df6b to f9be335 Compare May 19, 2026 16:40
Supports a comma-separated list of items where each item is either a
single SHA/ref or a revspec containing ".." (e.g. "A..HEAD"), expanded
via `git rev-list --first-parent`. The existing --commit flag is kept
as a hidden, deprecated alias for backwards compatibility.
@joshfriend joshfriend merged commit 8fac5a0 into block:main May 20, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants