The changes module now uses the -w flag when calling git.

This makes the generated statistics more coherent with the output from the
blame module.
This commit is contained in:
Adam Waldenberg 2012-05-09 09:35:27 +02:00
parent f8b3a20652
commit cf261728be
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class AuthorInfo:
class Changes:
def __init__(self, repo, hard):
self.commits = []
git_log_r = sysrun.run(repo, "git log --pretty='%ad|%t|%aN|%s' --stat=100000 --no-merges --ignore-space-change " +
git_log_r = sysrun.run(repo, "git log --pretty='%ad|%t|%aN|%s' --stat=100000 --no-merges -w " +
"-C {0} --date=short".format("-C" if hard else ""))
commit = None
found_valid_extension = False