Package: git
Version: 1:2.1.4-2.1
Severity: minor

I'm getting some coloured output from git despite having set
color.ui=never in my ~/.gitconfig.  When completing a git bisect
process, when git gives the "is the first bad commit" report, the "commit
22ff..." line is being output with escape sequences intended to colour it
yellow, if stdout is a terminal.  The color.ui setting has successfully
disabled most of the coloured-by-default output from git, just not this
particular bit.  Caught by strace (with many irrelevant lines omitted):

20408 write(1, "22ff313068aa37b1a24855e760e71ee9a20a1a90 is the first bad 
commit\n", 65) = 65
20408 open("/home/zefram/.gitconfig", O_RDONLY) = 3
20408 read(3, "[user]\n\tname = Zefram\n\temail = zef...@fysh.org\n\tsigningkey 
= 0x8E1E1EC1\n\n[color]\n\tui = never\n", 4096) = 93
20408 read(3, "", 4096)                 = 0
20408 close(3)                          = 0
20408 write(1, "\33[33mcommit 22ff313068aa37b1a24855e760e71ee9a20a1a90\33[m\n", 
56) = 56

-zefram

Reply via email to