wishlist: diffstat could understand the output of colordiff

Bug #1304262 reported by Jay Foad on 2014-04-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diffstat (Ubuntu)

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 post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers