mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
util: add gdiff to the list of diff utilities to support bsd systems
This commit is contained in:
parent
a5ddb613fb
commit
411868a43a
@ -151,7 +151,7 @@ pub fn verror(kind, s string) {
|
||||
}
|
||||
|
||||
pub fn find_working_diff_command() ?string {
|
||||
for diffcmd in ['colordiff', 'diff', 'colordiff.exe', 'diff.exe'] {
|
||||
for diffcmd in ['colordiff', 'gdiff', 'diff', 'colordiff.exe', 'diff.exe'] {
|
||||
p := os.exec('$diffcmd --version') or {
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user