jj/src
Martin von Zweigbergk 87ba11592b cli: make log -s/--git imply -p
`log -s/--summary` and `log --git` without `-p` don't do anything. I
also don't think it's very useful to pass these flags in an alias,
where you would then sometimes also pass `-p` to see the diff summary
in the output. We already have the `diff.format` config for that use
case. So let's make both of these flags imply `-p`.

I implemented it by making the `diff_format` variable an
`Option<DiffFormat>`, which is set iff we should show a patch. That
way we have the condition in one place, and the places we use it
cannot forget to check it.
2022-05-13 03:19:10 -07:00
..
commands.rs cli: make log -s/--git imply -p 2022-05-13 03:19:10 -07:00
config.rs cli: respect $VISUAL, overriding $EDITOR 2022-05-10 10:39:59 -07:00
diff_edit.rs cleanup: fix some cargo clippy warnings 2022-05-02 21:49:01 -07:00
formatter.rs cli: jj branch can accept any number of branches 2022-05-02 21:33:58 -07:00
graphlog.rs graphlog: don't de-indent multi-line text at end of chain 2022-05-11 04:42:44 -07:00
lib.rs cli: move config-reading to new config module 2022-05-10 10:21:22 -07:00
main.rs cli: allow config in ~/.jjconfig.toml 2022-05-10 10:21:22 -07:00
template.pest
template_parser.rs cli: indicate each workspace's checkout in log (#13) 2022-02-02 21:36:14 -08:00
templater.rs cli: indicate each workspace's checkout in log (#13) 2022-02-02 21:36:14 -08:00
ui.rs cli: jj branch can accept any number of branches 2022-05-02 21:33:58 -07:00