소스 검색

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
 }