mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
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. |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| testing | ||
| tests | ||
| build.rs | ||
| Cargo.toml | ||
| docs | ||
| LICENSE | ||