util: add gdiff to the list of diff utilities to support bsd systems

pull/5153/head
Mike 'Fuzzy' Partin 2020-05-31 08:01:31 -07:00 committed by GitHub
parent a5ddb613fb
commit 411868a43a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}