util: add gdiff to the list of diff utilities to support bsd systems
parent
a5ddb613fb
commit
411868a43a
|
@ -151,7 +151,7 @@ pub fn verror(kind, s string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn find_working_diff_command() ?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 {
|
p := os.exec('$diffcmd --version') or {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue