From c762df54786fd6f005f3b5307323f1d2df3cbf0b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 8 Apr 2021 17:11:14 +0200 Subject: etc/committer: Disable diff colors. Reported by: morgansmith on IRC. * etc/committer.scm.in (diff-info): Invoke "git diff" with "--no-color". --- etc/committer.scm.in | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/committer.scm.in b/etc/committer.scm.in index 7991dc7430..801b5d195e 100755 --- a/etc/committer.scm.in +++ b/etc/committer.scm.in @@ -90,6 +90,7 @@ LINE-NO in PORT." "Read the diff and return a list of values." (let ((port (open-pipe* OPEN_READ "git" "diff" + "--no-color" "--no-prefix" ;; Only include one context line to avoid lumping in ;; new definitions with changes to existing -- cgit 1.4.1