Add -i flag to the fossil_metrics module's command #6448
Labels
🐛 bug
Something isn't working as expected.
🌱 good first issue
Good first issue to get your feet wet.
Current Behavior
fossil_metrics module fails to report the correct number of diffs in the repository if the user has delegated the diff behavior to another program, like: "fossil set --global diff-command 'diff -dwu --color=always'".
Expected Behavior
The metrics being displayed.
Additional context/Screenshots
None
Possible Solution
Instead of running "fossil diff --numstat" in the module, run "fossil diff -i --numstat", the -i flag makes the command use fossil's own engine, so just adding that flag to the command should fix the problem.
Environment
Relevant Shell Configuration
starship init fish | source
Starship Configuration
The text was updated successfully, but these errors were encountered: