-
-
Notifications
You must be signed in to change notification settings - Fork 722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added lines count display option #136
base: master
Are you sure you want to change the base?
Conversation
At the moment works only with GIT Enabled with --lines command option
@acaudwell any particular reason for not merging this yet ? |
I haven't had a good look at it yet. |
It's nice, I've tried it out. Good work! |
The "obviously wrong delta lines calculation" may not the correct solution either. Git counts added lines and removed lines in an odd way. Any change/edit to an existing line counts as 1 add and 1 remove. If you subtract you get 0. This is why most git based line-counts report adds and removes separately. If you just want to count changed lines its just "added" total. The removed - added may reflect actual removed code but I have found git is not always accurate with determining replace vs add so I prefer to just count "added" and not worry about "removed". I actually find the entire idea of line-counts useless and prefer commit counts ;) |
Hi, |
At the moment works only with GIT
Enabled with --lines