From 2ae221f5116900cc110b5c5cdac5862ba81565a4 Mon Sep 17 00:00:00 2001 From: Adam Waldenberg Date: Tue, 14 May 2013 02:20:13 +0200 Subject: [PATCH] Changes are now collected with commiter dates instead of author dates. This is probably what we want, because it reflects when an actual change was officially committed/pushed up. --- changes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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