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

describe: warn user of limitations of describing multiple commits interface #4211

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

ilyagr
Copy link
Collaborator

@ilyagr ilyagr commented Aug 4, 2024

This follows up on #3828, cc @bnjmnt4n (and thanks again for implementing this!). It also includes an additional line of explanation.

Calling this an "experimental feature" seems appropriate to me, but let me know if this feels excessive.

I don't think we will or should try to fix all the slightly rough edges by the Wednesday release.

Ultimately, I wonder if we can make this work smoothly with some form of rebase --interactive, including things like squashing and reordering commits.

Update: I also added a third commit with a new test. This ended up leading me to add op restore to the existing tests as well. Let me know if this should be a separate discussion in a separate PR, or I could just drop it.

…ions

This seems especially helpful if the descriptions start out empty.
@ilyagr ilyagr marked this pull request as ready for review August 4, 2024 22:17
cli/src/description_util.rs Outdated Show resolved Hide resolved
cli/tests/test_describe_command.rs Outdated Show resolved Hide resolved
@ilyagr ilyagr force-pushed the warn branch 4 times, most recently from 77b6bd2 to 83bba79 Compare August 6, 2024 06:15
I think it might be nice to have this in the upcoming release, but I'd
like to warn people that their changes will be lost if they aren't
careful, and to not rely on the syntax being fixed just yet.
@ilyagr ilyagr changed the title describe: warn user that describing multiple commits is experimental describe: warn user of limitations of describing multiple commits interface Aug 6, 2024
@ilyagr ilyagr merged commit 132dfd3 into martinvonz:main Aug 6, 2024
17 checks passed
@ilyagr ilyagr deleted the warn branch August 6, 2024 18: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.

2 participants