Skip to content
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

Support --empty flag for handling empty commits during rebase #7830

Open
fulghum opened this issue May 7, 2024 · 0 comments
Open

Support --empty flag for handling empty commits during rebase #7830

fulghum opened this issue May 7, 2024 · 0 comments
Labels
customer issue enhancement New feature or request

Comments

@fulghum
Copy link
Contributor

fulghum commented May 7, 2024

Today, when rebasing commits, if one of the commits becomes empty, the rebase will fail. With Git, you can use the --empty parameter to specify how you'd like Git to handle commits that become empty during a rebase. The keep and drop actions are likely the most useful for customers in Dolt's context.

It probably also makes sense to look at the --keep-empty and --no-keep-empty flags while looking at this work. (Note that these flags apply to commits that start empty before the rebase, where as the --empty param above applies to commits that become empty during a rebase.)

@fulghum fulghum added enhancement New feature or request customer issue labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer issue enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant