From ed501fe757b4b4afd1cf0fea4438e1b44a2f4e88 Mon Sep 17 00:00:00 2001 From: Adam Waldenberg Date: Thu, 24 May 2012 02:03:57 +0200 Subject: [PATCH] Longer file names are now generated when "git log" runs in the changes module. The default setting configures printed file names to fit to a 80 character wide terminal; something that destroys the ability to do proper filtering of long file names in gitinspector. --- changes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changes.py b/changes.py index 4e6bac7..cf8951e 100644 --- a/changes.py +++ b/changes.py @@ -85,7 +85,7 @@ class AuthorInfo: class Changes: def __init__(self, hard): self.commits = [] - git_log_r = os.popen("git log --pretty='%ad|%t|%aN|%s' --stat=100000 --no-merges -w " + + git_log_r = os.popen("git log --pretty='%ad|%t|%aN|%s' --stat=100000,8192 --no-merges -w " + "{0} --date=short".format("-C -C -M" if hard else "")) commit = None found_valid_extension = False