From 411868a43ab83010cd4085c145f94adbc3c20c27 Mon Sep 17 00:00:00 2001 From: Mike 'Fuzzy' Partin Date: Sun, 31 May 2020 08:01:31 -0700 Subject: [PATCH] util: add gdiff to the list of diff utilities to support bsd systems --- vlib/v/util/errors.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/util/errors.v b/vlib/v/util/errors.v index bc0778761a..181f4ac175 100644 --- a/vlib/v/util/errors.v +++ b/vlib/v/util/errors.v @@ -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 }