diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-04-08 17:11:14 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-04-08 17:12:06 +0200 |
commit | c762df54786fd6f005f3b5307323f1d2df3cbf0b (patch) | |
tree | 08d79f4118cb0710f0879afae1208960a25dd71b /etc | |
parent | 2afc79b51d0956e5834e81a70692a35cd83e4e87 (diff) | |
download | guix-c762df54786fd6f005f3b5307323f1d2df3cbf0b.tar.gz |
etc/committer: Disable diff colors.
Reported by: morgansmith on IRC. * etc/committer.scm.in (diff-info): Invoke "git diff" with "--no-color".
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/committer.scm.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/committer.scm.in b/etc/committer.scm.in index 7991dc7430..801b5d195e 100755 --- a/etc/committer.scm.in +++ b/etc/committer.scm.in @@ -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 |