-
Notifications
You must be signed in to change notification settings - Fork 702
cli: rename jj touch
to jj metaedit
#7365
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
Conversation
@glehmann FYI |
a3162f3
to
04d0c0d
Compare
You might want to also rename |
04d0c0d
to
ea93f95
Compare
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM, thank you and everyone involved! Let's wait a day for comments before merging.
If it's called I think |
Yes, I think that would be good. We could add an explicit flag to make it bump the timestamp (i.e. to consider all commits changed). I think it's fine to consider it a limitation that it currently rewrites unchanged commits. What do you think? |
Actually, I can probably quite easily make it not change the commits by default. Maybe I'll also add that flag to bump the committer timestamp. |
IMO, this could be a separate PR. But up to you two. For now (if we are making that a separate PR), we could mention this as a limitation in the docs (optionally, as far as I'm concerned) It might also make sense to mention it in the commit description. I thought it was mentioned, but I think that it was actually only mentioned on Discord somewhere. |
There were some concerns that `touch` only makes sense if you're familiar with the Unix `touch` command. I think that's a fair concern. I did not hear any objections to renaming the command. If we're going to do it, we should do it now, so it doesn't ever get released under the old name.
ea93f95
to
92621be
Compare
This PR now makes |
New commits, Yuya probably plans to take a look either way.
The status code is already tested as part of the `CommandOutput`. Also rename variable of type `CommandOutput` to more standard `output`.
This is just a tiny refactoring to prepare for making the command not rewrite commits if nothing changed.
92621be
to
37c620e
Compare
IIRC, we are very close to a release, so this PR should be merged quickly! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there may have been some miscommunication. It looks OK to me and I don't see any signs that Yuya wanted further changes.
Thanks Gaetan!
Checklist
If applicable:
CHANGELOG.md
README.md
,docs/
,demos/
)cli/src/config-schema.json
)