From c3d67a7e5bbf34bec124d71b256fa21dc910dd79 Mon Sep 17 00:00:00 2001 From: Stefano Mosconi Date: Tue, 5 Apr 2011 21:24:11 +0300 Subject: [PATCH] Fixing commit_begin conf option 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 --- gitstats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitstats b/gitstats index 095972c..612ea0f 100755 --- a/gitstats +++ b/gitstats @@ -35,7 +35,7 @@ conf = { 'max_authors': 20, 'authors_top': 5, 'commit_begin': '', - 'commit_end': '', + 'commit_end': 'HEAD', 'linear_linestats': 1, 'project_name': '', }