[Bug 1304262] [NEW] wishlist: diffstat could understand the output of colordiff

Jay Foad 1304262 at bugs.launchpad.net
Tue Apr 8 08:41:35 UTC 2014


Public bug reported:

I think it would be nice if diffstat understood the output of colordiff.
Currently I get:

$ colordiff /etc/group /etc/passwd | diffstat 
 0 files changed

Presumably this is just a matter of diffstat ignoring some control
codes.

(Background: I have configured my svn to use colordiff for diffs, so I
can do e.g. "svn diff | less" to see a nice colored diff in my terminal.
Unfortunately this means that the simple "svn diff | diffstat" no longer
works. Yes I could work around this with something like "svn diff
--diff-cmd diff | diffstat", but it would be nice if it Just Worked.)

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

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

Title:
  wishlist: diffstat could understand the output of colordiff

Status in “diffstat” package in Ubuntu:
  New

Bug description:
  I think it would be nice if diffstat understood the output of
  colordiff. Currently I get:

  $ colordiff /etc/group /etc/passwd | diffstat 
   0 files changed

  Presumably this is just a matter of diffstat ignoring some control
  codes.

  (Background: I have configured my svn to use colordiff for diffs, so I
  can do e.g. "svn diff | less" to see a nice colored diff in my
  terminal. Unfortunately this means that the simple "svn diff |
  diffstat" no longer works. Yes I could work around this with something
  like "svn diff --diff-cmd diff | diffstat", but it would be nice if it
  Just Worked.)

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



More information about the foundations-bugs mailing list