guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: etc/committer: Disable diff colors.


From: guix-commits
Subject: branch master updated: etc/committer: Disable diff colors.
Date: Thu, 08 Apr 2021 12:18:42 -0400

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new c762df5  etc/committer: Disable diff colors.
c762df5 is described below

commit c762df54786fd6f005f3b5307323f1d2df3cbf0b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Apr 8 17:11:14 2021 +0200

    etc/committer: Disable diff colors.
    
    Reported by: morgansmith on IRC.
    
    * etc/committer.scm.in (diff-info): Invoke "git diff" with "--no-color".
---
 etc/committer.scm.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/etc/committer.scm.in b/etc/committer.scm.in
index 7991dc7..801b5d1 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]