diff --git a/changes.py b/changes.py index d25b346..59ee836 100644 --- a/changes.py +++ b/changes.py @@ -96,7 +96,7 @@ class AuthorInfo: class Changes: def __init__(self, hard): self.commits = [] - git_log_r = subprocess.Popen("git log --pretty=\"%ad|%H|%aN|%s\" --stat=100000,8192 --no-merges -w " + + git_log_r = subprocess.Popen("git log --pretty=\"%cd|%H|%aN|%s\" --stat=100000,8192 --no-merges -w " + interval.get_since() + interval.get_until() + "{0} --date=short".format("-C -C -M" if hard else ""), shell=True, bufsize=1, stdout=subprocess.PIPE).stdout