File tree 2 files changed +7
-9
lines changed
2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
Unreleased
2
2
----------
3
3
4
+ - Make ` patdiff ` show refined diffs (#4257 , fixes #4254 , @hakuch )
5
+
4
6
- Allow ` (package pkg) ` in dependencies even if ` pkg ` is an installed package
5
7
(#4170 , @bobot )
6
8
Original file line number Diff line number Diff line change @@ -89,16 +89,12 @@ let print ?(skip_trailing_cr = Sys.win32) path1 path2 =
89
89
| Some prog ->
90
90
let * () =
91
91
Process. run ~dir ~env: Env. initial Strict prog
92
- [ " -keep-whitespace"
93
- ; " -location-style"
94
- ; " omake"
95
- ; ( if Lazy. force Ansi_color. stderr_supports_color then
96
- " -unrefined"
92
+ ( [ " -keep-whitespace" ; " -location-style" ; " omake" ]
93
+ @ ( if Lazy. force Ansi_color. stderr_supports_color then
94
+ []
97
95
else
98
- " -ascii" )
99
- ; file1
100
- ; file2
101
- ]
96
+ [ " -ascii" ] )
97
+ @ [ file1; file2 ] )
102
98
in
103
99
(* Use "diff" if "patdiff" reported no differences *)
104
100
normal_diff () )
You can’t perform that action at this time.
0 commit comments