Pārlūkot izejas kodu

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 gadus atpakaļ
vecāks
revīzija
c3d67a7e5b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      gitstats

+ 1
- 1
gitstats Parādīt failu

@@ -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
 }