Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Aug 6, 2011
Commits on Apr 8, 2011
  1. @stezz @hoxu

    Fixing commit_begin conf option

    stezz authored hoxu committed
    If you tried to pass only -c commit_begin=something this would
    always return HEAD in any case since commit_end was set to ''.
    
    Defaulting commit_end to HEAD makes getcommitrange() function work as it
    should.
    
    Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
Commits on Mar 21, 2011
  1. @hoxu

    Do not consider a dot in path a filename extension.

    hoxu authored
    'highlight.js/LICENSE' was recognized as 'js/LICENSE' extension erroneously.
    
    Fixes SourceForge bug #3221520.
    
    Thanks-to: Alexander Gladysh <agladysh@users.sourceforge.net>
Commits on Feb 18, 2011
  1. @hoxu

    todo: updated.

    hoxu authored
Commits on Jan 19, 2011
  1. @moy @hoxu

    Don't create ugly graphs on clock skew

    moy authored hoxu committed
    We collect and accumulate data based on the order of the output of "git
    log", which is not necessarily ordered by timestamp. Adding --date-order
    should improve the situation, but isn't sufficient at least on git.git's
    repository.
    
    In addition, when encountering a date that is prior to the last one
    encountered, we change it to be the last encountered date. A better
    solution would be to actually order the lines before starting to count.
    
    Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
  2. @hoxu

    Remove debug print.

    hoxu authored
  3. @hoxu

    Fix author active days calculation.

    hoxu authored
    A set of dates is used now instead of an incremented value. This is the same as
    what has been used for General -> active days already.
Commits on Jan 18, 2011
  1. @hoxu

    Fix first/last commit finding.

    hoxu authored
    Because of cherry-pick and patches, commits may be in any order. This also
    improves the support for generating statistics for multiple repositories.
Commits on Jan 17, 2011
  1. @hoxu

    Make negative author timedelta positive.

    hoxu authored
    Commit timestamps can be in backwards order (when applying patches &
    cherry-picking in reverse order), so we don't want author age to be negative
    (was in gitstats case too :)
  2. @hoxu

    Trivial change to Wulf's patch.

    hoxu authored
  3. @Philantrop @hoxu

    Initial changes for multi-repo awareness.

    Philantrop authored hoxu committed
    Initial attempt to make gitstats create cumulative statistics for multiple
    repos (the case of a single project consisting of more than just one git
    repository.)
    
    Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
  4. @hoxu
  5. @hoxu

    Bump copyright year.

    hoxu authored
Commits on Jan 16, 2011
  1. @moy @hoxu

    Per-author commit count graph

    moy authored hoxu committed
    Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
  2. @moy @hoxu

    Per-author added lines graph

    moy authored hoxu committed
    Old versions of gnuplot produce garbage if the author's name contain
    non-ascii, but gnuplot 4.4 seems to handle it just fine.
    
    Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
  3. @moy @hoxu

    Don't compute per-author information with --first-parent

    moy authored hoxu committed
    While it's fine to compute project-wide informations (LOC) on a linear
    history, we don't want to assign added lines of code to the user doing
    a merge when the code was initially written by someone else on a
    branch.
    
    Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
Commits on Jan 15, 2011
  1. @hoxu
Commits on Jan 14, 2011
  1. @moy @hoxu

    Portable syntax for "set xtics rotate"

    moy authored hoxu committed
    Gnuplot version 4.4 renders text within the drawing area with "set
    xtics rotate angle 90". According to
    
    http://newsgroups.derkeiler.com/Archive/Comp/comp.graphics.apps.gnuplot/2010-08/msg00079.html
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586513
    
    this is a feature, not a bug, but "set xtics rotate" give the expected
    behavior everywhere (text from down to top, below the graph).
    
    Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
  2. @moy @hoxu

    Set image size with "set terminal size", not "set size".

    moy authored hoxu committed
    Recent versions of gnuplot understand "set size" as the amount of
    space to use within the canava size. "set size 1,0.5" was therefore
    creating large images with the top half being blank.
    
    set terminal size works as expected at least with gnuplot 4.4 and 4.2.
    
    Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
Commits on Jan 10, 2011
  1. @hoxu

    README: s/GPLv2 or older/GPLv2 or later/.

    hoxu authored
    gitstats is dual-licensed under GPLv2/GPLv3, so naturally the contributions are
    asked to be GPLv2+.
    
    Thanks-to: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
Commits on Jan 8, 2011
  1. @hoxu
  2. @hoxu

    Wrap run() inside if __name__.

    hoxu authored
Commits on Oct 20, 2010
  1. @hoxu

    Fix running gitstats with a non-tty stdin.

    hoxu authored
    The following command used to fail because git shortlog has some witty magic to
    decide the behaviour based on whether stdin is a terminal:
    
    ./gitstats /repo /dst < /dev/null
    
    effectively causing a lot of shell scripts calling gitstats to fail with
    "Division by zero" in author statistics.
    
    Thanks-to: Bertrand Jacquin <beber@meleeweb.net>
    Thanks-to: Sylvain Rabot <sylvain@abstraction.fr>
Commits on Oct 17, 2010
  1. @hoxu

    Add a new option 'linear_linestats' (default on).

    hoxu authored
    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>
Commits on Sep 28, 2010
  1. @penberg @hoxu

    Use perl for version number replacement.

    penberg authored hoxu committed
    This patch changes Makefile to use perl for version number replacement to fix
    'make install' on Darwin. The problem is that GNU sed and sed on Darwin (and
    probably on BSDs) behave differently with regards to the '-i' command line
    option.
    
    Signed-off-by: Pekka Enberg <penberg@kernel.org>
    Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
Commits on Aug 7, 2010
  1. @hoxu

    Cover options in the manpage.

    hoxu authored
  2. @hoxu

    Add a simple manpage.

    hoxu authored
    The manpage is in pod format, and pod2man can be used to convert it.
Commits on Jul 23, 2010
  1. @hoxu

    Commits by Domains: start yrange from 0.

    hoxu authored
    Will show more truthful graphs when all domains have a lot of commits.
Commits on Jul 2, 2010
  1. @Philantrop @hoxu

    Fix potential KeyError with 'lines_added' in 55e46db.

    Philantrop authored hoxu committed
    [hoxu@users.sf.net: rewrote commit message]
    
    Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
Commits on Jun 23, 2010
  1. @zlin @hoxu

    Respect .mailmap.

    zlin authored hoxu committed
    Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
Commits on Jun 10, 2010
  1. @hoxu
Commits on Jun 8, 2010
  1. @hoxu

    Add options for limiting stats to begin..end range.

    hoxu authored
    Bit hackish and not fully supported, but -c commit_end=HEAD~10 allows limiting
    statistics generation to before HEAD~10 for example.
  2. @hoxu

    Remove extra 'git log' call.

    hoxu authored
    No idea why this was used in the first place, apart from performance hit, it
    had no effect.
Commits on Apr 2, 2010
  1. @hoxu
  2. @hoxu
Something went wrong with that request. Please try again.