-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setting the diff algorithm can be done in multiple places. The config, the command line, and in the subsequent commit, through attributes. Refactor the logic that sets the diff algorithm out of diff_opt_diff_algorithm() into a helper that will allow multiple callsites to set the diff algorithm. Also introduce a new macro that can be used to easily check if any diff algorithm or the minimal algorithm has been set. Signed-off-by: John Cai <johncai86@gmail.com>
- Loading branch information
John Cai
committed
Feb 3, 2023
1 parent
2fc9e9c
commit df25166
Showing
2 changed files
with
18 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