1
0
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:
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

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
}