Explorar el Código

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 hace 14 años
padre
commit
c3d67a7e5b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      gitstats

+ 1
- 1
gitstats Ver fichero

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