-
Notifications
You must be signed in to change notification settings - Fork 343
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
FR: jj commit <path>
supports committing a subset of changed files
#1990
Comments
iirc, there was a discussion about making the 2nd editor optional (opens only if the wc commit already had a description.) I think that's also a good idea. I'm not sure if |
I think at this point a |
Thanks for bringing in the context. Having Have there been discussion for I'm not familiar with |
I don't think there has been. I think I made
You can already do |
No problem at all, I just think everyone should get a full context if its available.
Not that I'm aware of.
AFAIU, it behaves like |
Sounds good. Closing this issue. |
Are we certain that we want to close this? I would personally use a |
It seems nice to be consistent with other vcs like git/hg here for ease of use. |
This was implemented in #2132. |
Sometimes I have locally modified files that are not intended to be submitted. To commit a subset of the files, it's recommended to run
jj split <path>
. However split requires opening up the editor 2 times and writing multiple commit descriptions (even if just left empty). For people that don't have the habit of deciding the working copy's commit description beforehand, part of the workflow is redundant.It would be great if
jj commit -m "msg" <path>
could be supported. It works the same way in git and hg, so no re-learning. Plus it's a single command that doesn't require a multi-step split.The text was updated successfully, but these errors were encountered: