[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5211: Color escape codes in the output of vc-git-print-log
From: |
Dan Nicolaescu |
Subject: |
bug#5211: Color escape codes in the output of vc-git-print-log |
Date: |
Tue, 15 Dec 2009 06:57:30 -0800 (PST) |
Juanma Barranquero <lekktu@gmail.com> writes:
> Package: emacs,vc
> Tags: patch
> Version: 23.1.90
> Severity: minor
>
>
> Depending of your setting of color.diff, color is used for log output,
> and vc-print-log shows garbage (OK, escape codes for color):
>
> ^[[33mcommit 43a3bf88e5e495ad048b3a6d3cf852e1e7a02f1c^[[m
> Author: xxx <yyy@zzz>
> Date: 2009-12-14 17:11:35 +0200
>
> blah blah blah
>
>
> As color in *vc-change-log* buffers is an issue for font-locking, and
> not for git log, the command should be called with --no-color.
>
> OK to the following patch?
>
> Juanma
>
>
> 2009-12-14 Juanma Barranquero <lekktu@gmail.com>
>
> * vc-git.el (vc-git-print-log): Pass --no-color to `git log'.
When did the --no-color option appear?
If we pass it by default, then it will break C-x v l for git versions
that do not support it.
If --no-color is old enough, the it might not matter...
bug#5211: Color escape codes in the output of vc-git-print-log,
Dan Nicolaescu <=
bug#5211: marked as done (Color escape codes in the output of vc-git-print-log), Emacs bug Tracking System, 2009/12/27