ソースを参照

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 <hoxu@users.sf.net>
Stefano Mosconi 14 年 前
コミット
c3d67a7e5b
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      gitstats

+ 1
- 1
gitstats ファイルの表示

@@ -35,7 +35,7 @@ conf = {
35 35
 	'max_authors': 20,
36 36
 	'authors_top': 5,
37 37
 	'commit_begin': '',
38
-	'commit_end': '',
38
+	'commit_end': 'HEAD',
39 39
 	'linear_linestats': 1,
40 40
 	'project_name': '',
41 41
 }