-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: fix: add --include-unchanged-files flag to allow fixing as yet u…
…nchanged 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.
- Loading branch information
Showing
4 changed files
with
172 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters