feat(restack): Add automatic restack opt-outs - #1361
Merged
Conversation
Owner
Author
|
This change is part of the following stack: Change managed by git-spice. |
abhinav
enabled auto-merge (squash)
July 11, 2026 19:44
Commands that restack automatically can now skip restacking with `--no-restack` or `--restack=none`. The default remains to restack (`--restack=upstack` or `--restack`), configurable with the `spice.<command>.restack` configuration option. It's not strictly boolean to leave room for other options where relevant in the future (similarly to --restack flags on `repo sync`, etc.). Resolves #1352
abhinav
force-pushed
the
auto-restack-options
branch
from
July 11, 2026 20:17
dfcc712 to
9dca5f3
Compare
abhinav
disabled auto-merge
July 11, 2026 20:17
abhinav
enabled auto-merge (squash)
July 11, 2026 20:17
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Commands that restack automatically can now skip restacking
with
--no-restackor--restack=none.The default remains to restack (
--restack=upstackor--restack),configurable with the
spice.<command>.restackconfiguration option.It's not strictly boolean to leave room for other options where relevant
in the future (similarly to --restack flags on
repo sync, etc.).Resolves #1352
Depends on alecthomas/kong#618, alecthomas/kong#620