mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-09-27 18:01:30 +02:00
gitinspector now tracks rows "really hard" if the -H flag is given.
This commit is contained in:
parent
d4c108d923
commit
43859e7742
2
blame.py
2
blame.py
@ -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
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user