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.
This commit is contained in:
Adam Waldenberg 2013-05-14 02:20:13 +02:00
parent 028469080f
commit 2ae221f511
1 changed files with 1 additions and 1 deletions

View File

@ -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