gitinspector now tracks rows "really hard" if the -H flag is given.

This commit is contained in:
Adam Waldenberg 2012-05-18 03:22:42 +02:00
parent d4c108d923
commit 43859e7742
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ class Blame:
for i in ls_tree_r.readlines():
if FileDiff.is_valid_extension(i):
if not missing.add(repo, i.strip()):
git_blame_r = system.run(repo, "git blame -w {0} \"".format("-C -M" if hard else "") +
git_blame_r = system.run(repo, "git blame -w {0} \"".format("-C -C -M" if hard else "") +
i.strip() + "\"")
is_inside_comment = False

View File

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