etc/committer: Disable diff colors.
Reported by: morgansmith on IRC. * etc/committer.scm.in (diff-info): Invoke "git diff" with "--no-color".master
parent
2afc79b51d
commit
c762df5478
|
@ -90,6 +90,7 @@ LINE-NO in PORT."
|
||||||
"Read the diff and return a list of <hunk> values."
|
"Read the diff and return a list of <hunk> values."
|
||||||
(let ((port (open-pipe* OPEN_READ
|
(let ((port (open-pipe* OPEN_READ
|
||||||
"git" "diff"
|
"git" "diff"
|
||||||
|
"--no-color"
|
||||||
"--no-prefix"
|
"--no-prefix"
|
||||||
;; Only include one context line to avoid lumping in
|
;; Only include one context line to avoid lumping in
|
||||||
;; new definitions with changes to existing
|
;; new definitions with changes to existing
|
||||||
|
|
Reference in New Issue