Skip to content

feat(restack): Add automatic restack opt-outs - #1361

Merged
abhinav merged 1 commit into
mainfrom
auto-restack-options
Jul 11, 2026
Merged

feat(restack): Add automatic restack opt-outs#1361
abhinav merged 1 commit into
mainfrom
auto-restack-options

Conversation

@abhinav

@abhinav abhinav commented Jul 11, 2026

Copy link
Copy Markdown
Owner

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
Depends on alecthomas/kong#618, alecthomas/kong#620

@abhinav

abhinav commented Jul 11, 2026

Copy link
Copy Markdown
Owner Author

This change is part of the following stack:

Change managed by git-spice.

@abhinav
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
abhinav force-pushed the auto-restack-options branch from dfcc712 to 9dca5f3 Compare July 11, 2026 20:17
@abhinav
abhinav disabled auto-merge July 11, 2026 20:17
@abhinav
abhinav enabled auto-merge (squash) July 11, 2026 20:17
@abhinav
abhinav merged commit 497ef0e into main Jul 11, 2026
22 checks passed
@abhinav
abhinav deleted the auto-restack-options branch July 11, 2026 20:28
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.

commit, branch squash and otherauto- restacking commands: add --no-restack option

1 participant