The alias computes per-user lines of code.
Parameters are passed on to git ls-files
: the main intended use is tallying a certain section of a project.
E.g. to examine the backend of a Rails' project you can run
git locstat :**.rb :^lib
Note the alias is defined as a command, so it's always run from the root of the project.
The script additionally computes total and percentages.