← Back to team overview

launchpad-dev team mailing list archive

Re: cheap trunk LoC status check

 

On 12/04/12 16:02, John Meinel wrote:
> Does diffstat handle the fact that fixing a typo in one line will delete
> that line and then add it with the different content? I guess the point
> is that of those 5.8k lines, prob 5.5k of them are just modifications,
> not deletions.
> 
> It would be interesting to have a X lines modified, Y added, Z deleted
> metric.

diffstat does handle that, but it depends on the diff format that's been
fed into it. unified diff shows a typo fix as a deletion and an addition
of 1 line.

Cheers,
-- 
                                        Steve
Launchpad Developer
Canonical, Ltd


References