Add a new option 'linear_linestats' (default on).
commit0656ac957842e4376cac2eb44396311c16444ca0
authorHeikki Hokkanen <hoxu@users.sf.net>
Sun, 17 Oct 2010 17:27:21 +0000 (17 20:27 +0300)
committerHeikki Hokkanen <hoxu@users.sf.net>
Sun, 17 Oct 2010 17:27:21 +0000 (17 20:27 +0300)
tree9dfd7dbf7da599cc4649e0c839dc0ac2a781bbb8
parentdc0bbb295757fae0e970be7809359c5c00dd0cc6
Add a new option 'linear_linestats' (default on).

When enabled, the lines of code statistics are collected from linear history.
The downside is that commits of feature long feature branches appear only at
the point where a merge commit is made.

If disabled (old behaviour), the problem is that if two branches contain the
same changes (for example, removal of same lines), the statistics get skewed.

Fixes line count statistics for this example repository:
git://github.com/septract/jstar.git

Thanks-to: Radu Grigore <radugrigore@users.sourceforge.net>
gitstats