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>
This commit is contained in:
Stefano Mosconi
2011-04-05 21:24:11 +03:00
committed by Heikki Hokkanen
parent 09f1307a85
commit c3d67a7e5b

View File

@@ -35,7 +35,7 @@ conf = {
'max_authors': 20,
'authors_top': 5,
'commit_begin': '',
'commit_end': '',
'commit_end': 'HEAD',
'linear_linestats': 1,
'project_name': '',
}