datetime_from_timestamp() is not a function provided by the Git wrapper, it's a module-level function of the calling module. Signed-off-by: Tilman Blumenbach <tilman+git@ax86.net>
@@ -45,7 +45,7 @@ def filetime_from_git(content):
if len(commits) == 0:
# never commited, but staged
- content.date = git.datetime_from_timestamp(
+ content.date = datetime_from_timestamp(
os.stat(path).st_ctime, content)
else:
# has commited