← Back to team overview

launchpad-dev team mailing list archive

Re: cheap trunk LoC status check

 

On Thu, Apr 12, 2012 at 6:02 PM, John Meinel <john@xxxxxxxxxxxxxxxxx> 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.

>From the LoC policy perspective +1-1 is equal to a modified; we don't
care either way. You're right that we're losing information, but then
again LoC as a policy knob is already a very shall we say,
disconnected thing.

-Rob


References