ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/src
Martin von Zweigbergk 11005ae9b8 cli: make condition for committing working copy slightly smarter
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.
2021-05-28 10:31:17 -07:00
..
commands.rs cli: make condition for committing working copy slightly smarter 2021-05-28 10:31:17 -07:00
diff_edit.rs repo_path: replace remaining uses of DirRepoPath by RepoPath 2021-05-19 15:11:04 -07:00
graphlog.rs cleanup: address warnings reported by new clippy version 2021-04-28 09:12:48 -07:00
lib.rs commands: add an interactive mode for jj restore 2020-12-26 01:16:19 -08:00
main.rs project: rename project from Jujube to Jujutsu 2021-05-15 10:28:40 -07:00
styler.rs project: rename project from Jujube to Jujutsu 2021-05-15 10:28:40 -07:00
template.pest import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
template_parser.rs project: rename project from Jujube to Jujutsu 2021-05-15 10:28:40 -07:00
templater.rs project: rename project from Jujube to Jujutsu 2021-05-15 10:28:40 -07:00
testutils.rs project: rename project from Jujube to Jujutsu 2021-05-15 10:28:40 -07:00
ui.rs cli: print file paths as relative and using OS directory separator 2021-05-16 13:43:23 -07:00