Replies: 4 comments 3 replies
-
Thanks for the idea. I have pondered on something like that for |
Beta Was this translation helpful? Give feedback.
-
Even if we had |
Beta Was this translation helpful? Give feedback.
-
Besides the |
Beta Was this translation helpful? Give feedback.
-
This reminds me of matklad's idea for a Magit-like LSP. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was thinking about issue #6540, which is about where to place the temporary file used for editing a commit's description, and I thought of what is maybe a nice solution: don't use temporary files at all.
jj's big idea (for me) is that the working directory is "the same as" a commit, where editing a file updates the commit. We could do the same with the commit's description:
jj edit X
update some.jj/.../description
file with the current commit's descriptionjj st
etc. scan the workspace and integrates any file changes) also check this description file and use it to update the current commit as wellNow commands like
jj describe
would just open your editor pointed at that file, and do the same refresh when you exit.This would also mean you could use the normal tooling on your commit description:
echo ... > .../description
to add a footer to it)Beta Was this translation helpful? Give feedback.
All reactions