mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-09-30 03:11:29 +02:00
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:
parent
f8b3a20652
commit
cf261728be
@ -80,7 +80,7 @@ class AuthorInfo:
|
|||||||
class Changes:
|
class Changes:
|
||||||
def __init__(self, repo, hard):
|
def __init__(self, repo, hard):
|
||||||
self.commits = []
|
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 ""))
|
"-C {0} --date=short".format("-C" if hard else ""))
|
||||||
commit = None
|
commit = None
|
||||||
found_valid_extension = False
|
found_valid_extension = False
|
||||||
|
Loading…
Reference in New Issue
Block a user