ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli/src
Danny Hooper bf543402cc cli: fix: add --include-unchanged-files flag to allow fixing as yet unchanged files
This enables workflows like "insert a commit that reformats the code in one of
my project directories".

`jj fix --include-unchanged-files` is an easy way to fix everything in the repo.

`jj fix --include-unchanged-files <file...>` fixes all of the `<files>` even if they are
unchanged.

This is mostly orthogonal to other features, so not many tests are added.

This is a significant and simple enough improvement that I think it's
appropriate to make it here instead of waiting for a `jj run`-based solution.
2024-09-06 13:50:28 -05:00
..
commands cli: fix: add --include-unchanged-files flag to allow fixing as yet unchanged files 2024-09-06 13:50:28 -05:00
config cli: parse graph node settings strictly 2024-09-06 09:51:10 +09:00
merge_tools store: make write_file() async 2024-09-04 18:34:11 -07:00
cleanup_guard.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
cli_util.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
command_error.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
commit_templater.rs cli: rename obslog to evolution-log/evolog 2024-09-05 13:45:17 -07:00
config-schema.json signing: allow disabling by setting backend to "none" 2024-09-05 21:02:22 -07:00
config.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
description_util.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
diff_util.rs conflicts: pass around conflict contents without materialization 2024-08-28 10:23:57 +09:00
formatter.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
generic_templater.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
git_util.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
graphlog.rs graphlog: inline node_template_for_key() 2024-09-06 09:51:10 +09:00
lib.rs next/prev: refactor movement utilities into cli/src/movement_utils.rs 2024-08-16 23:21:00 +01:00
main.rs cli: move src/ directory to new cli/ directory 2023-08-04 19:00:42 -05:00
movement_util.rs next/prev: update error message when no movement targets are found. 2024-08-25 09:58:04 +01:00
operation_templater.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
progress.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
revset_util.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
template.pest fileset, revset, templater: add support for single-quoted raw string literals 2024-04-25 11:14:33 +09:00
template_builder.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
template_parser.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
templater.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
text_util.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
time_util.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
ui.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00