diff --git a/changes.py b/changes.py index 772b391..e631323 100644 --- a/changes.py +++ b/changes.py @@ -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