jj/cli
Martin von Zweigbergk 146900a071 cli: put editor-*.jjdescription file in /tmp instead of .jj/repo/
When we ask the user to prodive a commit description, we currently
write a file to `.jj/repo/` with the draft description and then pass
that to the editor. If the editor exits with an error status, we leave
the file in place and tell the user about the path so they can recover
the description. I'm not sure I've ever used one of these files. I
have certainly never used a file that's not from the most recent
edit. I have, however, cleaned up old such files. This patch changes
the code so we write them to /tmp instead, so we get the cleanup for
free.
2025-04-25 02:08:30 +00:00
..
examples view: rename workspace "id" to "name" 2025-03-31 03:39:29 +00:00
src cli: put editor-*.jjdescription file in /tmp instead of .jj/repo/ 2025-04-25 02:08:30 +00:00
testing cleanup: enable unused_trait_names clippy lint and run clippy --fix 2025-03-16 00:35:56 +00:00
tests cli: put editor-*.jjdescription file in /tmp instead of .jj/repo/ 2025-04-25 02:08:30 +00:00
build.rs build: fix cargo publish by symlinking cli/docs->docs 2024-11-05 17:37:14 -08:00
Cargo.toml config-schema: use datatest-stable crate to instantiate tests 2025-04-24 15:48:08 +00:00
docs build: fix cargo publish by symlinking cli/docs->docs 2024-11-05 17:37:14 -08:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00