summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-04-08 17:11:14 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-04-08 17:12:06 +0200
commitc762df54786fd6f005f3b5307323f1d2df3cbf0b (patch)
tree08d79f4118cb0710f0879afae1208960a25dd71b
parent2afc79b51d0956e5834e81a70692a35cd83e4e87 (diff)
etc/committer: Disable diff colors.
Reported by: morgansmith on IRC. * etc/committer.scm.in (diff-info): Invoke "git diff" with "--no-color".
-rwxr-xr-xetc/committer.scm.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/committer.scm.in b/etc/committer.scm.in
index 7991dc7430c..801b5d195ea 100755
--- a/etc/committer.scm.in
+++ b/etc/committer.scm.in
@@ -90,6 +90,7 @@ LINE-NO in PORT."
90 "Read the diff and return a list of <hunk> values." 90 "Read the diff and return a list of <hunk> values."
91 (let ((port (open-pipe* OPEN_READ 91 (let ((port (open-pipe* OPEN_READ
92 "git" "diff" 92 "git" "diff"
93 "--no-color"
93 "--no-prefix" 94 "--no-prefix"
94 ;; Only include one context line to avoid lumping in 95 ;; Only include one context line to avoid lumping in
95 ;; new definitions with changes to existing 96 ;; new definitions with changes to existing