You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The command "cloc --git-diff-rel --csv --by-file refs/tags/first-tag refs/tags/second-tag" returns 3 record but the difference between "first-tag" and "second-tag" is only of 2 records.
Run the command "cloc --git-diff-rel --csv --by-file refs/tags/first-tag refs/tags/second-tag" -> this returns 3 records (2 records actually refer to the same file README.md)
Run the command "git diff refs/tags/first-tag refs/tags/second-tag --name-only" and this returns 2 files
Moreover the number of lines changed, deleted, added returned by "cloc --git-diff-rel" is wrong
Expected result
"cloc --git-diff-rel --csv --by-file refs/tags/first-tag refs/tags/second-tag" should return 2 records and the right number of lines changed, added, removed
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Please give 62b9c4b a try. This uses smarter logic based on git itself to align file names (and identify file renames, a long overdue issue). If it works for you I'll add new test cases before closing.
Describe the bug
The command "cloc --git-diff-rel --csv --by-file refs/tags/first-tag refs/tags/second-tag" returns 3 record but the difference between "first-tag" and "second-tag" is only of 2 records.
cloc; OS; OS version
To Reproduce
Expected result
"cloc --git-diff-rel --csv --by-file refs/tags/first-tag refs/tags/second-tag" should return 2 records and the right number of lines changed, added, removed
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: