Upstream: https://anonscm.debian.org/cgit/collab-maint/tardiff.git/tree/debian/patches/fix-statistic.diff
Description: Fix calculation of statistics (option -s)
Using normal instead of unique diff is far easier to parse
Author: Axel Beckert <abe@debian.org>
Bug-Debian: https://bugs.debian.org/802098
===================================================================
--- tardiff 2015-10-17 16:37:09.675959837 +0200
+++ tardiff 2015-10-17 16:40:07.739438492 +0200
if(-d $file1 and -d $file2){
}elsif(-f $file1 and -f $file2){
- my $diff = `diff -u $file1 $file2`;
+ my $diff = `diff $file1 $file2`;
foreach my $line(split(/\n/, $diff)){
- }elsif($line =~ /^-\ /){