show line diff counts for changesets and pending changes
When listing changed files in a cs or pending changes, optionally list the number of lines changed in each file in the table. This would help in finding the important files from a large number of files.
Difficulties finding a revision to compare to make this hard to script from the command line.
It probably should ignore whitespace.
Implemented a new ‘analyze diffs’ in the 5.0
-
robl commented
This is only implemented in the diff branch/changeset panel. It would also be useful in "Pending Changes".
-
robl commented
It would also help if you avoided running cloc on filtered files.
It seems to be starting a perl/cloc execution for each file considered. It should be much faster to process all files in one execution. I think you could do this by preparing a directory with the file revisions for comparison.
-
robl commented
Unfortunately this is extremely slow when you have many 100s of changed items due to branch rebases. Running cloc only on the files changed on the current branch (like the now removed 'clean differences') would be ok, but ignoring rebase contributions would be better.
It would also be useful to be able to pass --ignore-whitespace to cloc: changing line endings gives spurious results.
-
robl commented
Plastic seems to be trying to run a program called 'cloc-1.60'. On Fedora 19 it is called 'cloc' so I need to add a symbolic link to get it to work.
It is very useful though, thanks.
-
psantosl commented
Check the new release 5.0.44.536 or higher. We've included a 'analyze diffs' button in the diffs dialog (based on cloc) that I think it is really what you're looking for.
Please confirm.