Public bug reported:

Since moving to precise, quilt diff passes output through a pager even
though the color option is set. This results in the output containing
garbage color control characters like so:

ESC[32mIndex: b/parser/libapparmor_re/expr-tree.ccESC[00m
===================================================================
ESC[32m--- a/parser/libapparmor_re/expr-tree.ccESC[00m
ESC[32m+++ b/parser/libapparmor_re/expr-tree.ccESC[00m
ESC[33m@@ -189,7 +189,7 @@ESC[00m ESC[35mvoid normalize_tree(Node *t, int 
dir)ESC[00m
        for (;;) {
                if ((&epsnode == t->child[dir]) &&
                    (&epsnode != t->child[!dir]) &&
ESC[35m-                    dynamic_cast<TwoChildNode *>(t)) {ESC[00m
ESC[36m+                    !dynamic_cast<TwoChildNode *>(t->child[!dir])) 
{ESC[00m
                        // (E | a) -> (a | E)
                        // Ea -> aE
                        Node *c = t->child[dir]

To reproduce, do quilt diff --color=auto or add the following to your
~/.quiltrc:

  QUILT_DIFF_ARGS="--color=auto"

and do quilt diff.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: quilt 0.50-2
ProcVersionSignature: Ubuntu 3.2.0-12.20-generic 3.2.2
Uname: Linux 3.2.0-12-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CheckboxSubmission: 9c15077a0ca11678d04e060687c26674
CheckboxSystem: 5dc75472945f57d094b84e90feb97396
Date: Thu Feb 16 09:33:57 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: quilt
UpgradeStatus: Upgraded to precise on 2012-01-30 (17 days ago)

** Affects: quilt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/933617

Title:
  quilt diff passes output through a pager even with color options
  enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/quilt/+bug/933617/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to