forked from mirrors/jj
Before this patch, `jj log` would always commit the working copy and most other commands would commit the working copy only if they were passed a revset of exactly "@". This patch makes it so they all commit the working copy unless they are passed just a symbol other than "@" (typically a commit id). That means that we will not commit the working copy if the user does `jj diff -r abc123`, but we will if they do `jj diff -r :abc123`. It's clearly unnecessary in both those cases, and we should fix, but this is probably good enough for now. |
||
---|---|---|
.. | ||
commands.rs | ||
diff_edit.rs | ||
graphlog.rs | ||
lib.rs | ||
main.rs | ||
styler.rs | ||
template.pest | ||
template_parser.rs | ||
templater.rs | ||
testutils.rs | ||
ui.rs |