etc/committer: Disable diff colors.

Reported by: morgansmith on IRC.

* etc/committer.scm.in (diff-info): Invoke "git diff" with "--no-color".
This commit is contained in:
Ricardo Wurmus 2021-04-08 17:11:14 +02:00
parent 2afc79b51d
commit c762df5478
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ LINE-NO in PORT."
"Read the diff and return a list of <hunk> 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