ejwa / gitinspector

:bar_chart: The statistical analysis tool for git repositories
GNU General Public License v3.0
2.38k stars 328 forks source link

getting warning messages related to diff.renameLimit #189

Closed yogesh9391 closed 6 years ago

yogesh9391 commented 6 years ago

I am getting following warning messages while running gitinspector on my git branch.

warning: only found copies from modified paths due to too many files.
warning: you may want to set your diff.renameLimit variable to at least 3771 and retry the command. gitinspector version is 0.5.0. Also, the reports are also not correct. Is it affecting to the reports? if yes, does anyone knows fix for it??

adam-waldenberg commented 6 years ago

Hi @yogesh9391

This is related to git, not gitinspector. From the git documentation,

The number of files to consider when performing the copy/rename detection;
equivalent to the 'git diff' option -l. This setting has no effect if rename
detection is turned off.

And yes, it does affect your git history (and you diff's), so you need to increase this particular config parameter if you happen to exceed it.

Closing.