1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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

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