mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05: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:
parent
2afc79b51d
commit
c762df5478
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ (define (diff-info)
|
|||
"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
|
||||
|
|
Loading…
Reference in a new issue