Commit ecc45acd authored by Inkhey's avatar Inkhey

Debug link commits files

parent 17a82f4d
......@@ -165,7 +165,7 @@ class sqlGit(object):
c.execute("SELECT dir,name FROM file;")
for row in c.fetchall():
path = os.path.join(row[0], row[1])
f = os.popen('git log --pretty=format:"%H "' + ' -- ' + path)
f = os.popen('git log --pretty=format:"%H"' + ' -- ' + path)
dLinkF_C = f.read().splitlines()
for commits in dLinkF_C:
data = (row[1], row[0], commits)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment