Skip to content

Commit 55c5c28

Browse files
hughescrhoxu
authored andcommitted
Quotes around date and commit range to allow spaces in those fields; eg "5 months ago" for a date
Signed-off-by: Heikki Hokkanen <[email protected]>
1 parent e35fea2 commit 55c5c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitstats

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def getpipeoutput(cmds, quiet = False):
7575
def getlogrange(defaultrange = 'HEAD', end_only = True):
7676
commit_range = getcommitrange(defaultrange, end_only)
7777
if len(conf['start_date']) > 0:
78-
return '--since=%s %s' % (conf['start_date'], commit_range)
78+
return '--since="%s" "%s"' % (conf['start_date'], commit_range)
7979
return commit_range
8080

8181
def getcommitrange(defaultrange = 'HEAD', end_only = False):

0 commit comments

Comments
 (0)