Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah your assertion is correct, even when it's just a single character changed, it's marked as a whole line has changed.

Git doesn't really have good statistics (I think) for e.g. token changes (it would need a tokenizer for that). There is however --word-diff for showing a diff in words instead of whole lines; it's probably possible to count those as well, the output syntax looks parseable enough.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: