mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 00:28:25 +01:00
Modified the call to git log in the changes module to conform with Windows.
The call to git log included "'" characters to "stringify" input to the git command. On unix systems, this functions the same way as the citation (") character. On Windows however, it does not.
This commit is contained in:
parent
dbcf709232
commit
cd3de23da2
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class AuthorInfo:
|
|||
class Changes:
|
||||
def __init__(self, hard):
|
||||
self.commits = []
|
||||
git_log_r = subprocess.Popen("git log --pretty='%ad|%t|%aN|%s' --stat=100000,8192 --no-merges -w " +
|
||||
git_log_r = subprocess.Popen("git log --pretty=\"%ad|%t|%aN|%s\" --stat=100000,8192 --no-merges -w " +
|
||||
"{0} --date=short".format("-C -C -M" if hard else ""),
|
||||
shell=True, bufsize=1, stdout=subprocess.PIPE).stdout
|
||||
commit = None
|
||||
|
|
Loading…
Reference in a new issue