Skip to content

cloc v2.0.6 still can not recognize files which have been renamed or moved #950

@freelynew

Description

@freelynew

cloc version is v2.0.6, i just rename and move the json/xml, nothing changed, but when i use cloc --diff command compare two commits, shows the result below, not as expected
github.com/AlDanial/cloc v 2.06 T=0.07 s (54.4 files/s, 46372.3 lines/s)

File blank comment code

src/main/resources/lpc_mhsx_event.json 0 0 0
same 0 0 0
modified 0 0 0
added 0 0 0
removed 0 0 0
src/main/resources/lpc_mhsx_event_path.json 0 0 727
same 0 0 0
modified 0 0 0
added 0 0 0
removed 0 0 0
src/main/java/com/huawei/cde/xy/codestatistics/config/lpc_mhsx_event.json 0 0 727
same 0 0 0
modified 0 0 0
added 0 0 0
removed 0 0 0
src/main/resources/lpc_mhsx_event_rename.json 0 0 0
same 0 0 0
modified 0 0 0
added 0 0 0
removed 0 0 727
src/main/java/com/huawei/cde/xy/codestatistics/util/IDataService.java 0 17 136
same 0 0 0
modified 0 0 1
added 0 0 0
removed 0 0 0
src/main/resources/CMEGRMMTC.xml 0 0 0
same 0 0 0
modified 0 0 0
added 0 0 0
removed 1 1 80
src/main/resources/CMEGRMMTCPATH.xml 0 0 0
same 0 0 0
modified 0 0 0
added 0 0 0
removed 1 1 80
src/main/java/com/huawei/cde/xy/codestatistics/config/data/CMEGRMMTC.xml 0 0 0
same 0 0 0
modified 0 0 0
added 1 1 80
removed 0 0 0
src/main/resources/CMEGRMMTCPRename.xml 0 0 0
same 0 0 0
modified 0 0 0
added 1 1 80
removed 0 0 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions