Ver código fonte

Merge pull request #520 from vosskuhle/master

Fix usage of `iter_commits` in `git-wrapper.py`
Justin Mayer 9 anos atrás
pai
commit
ce9fd50759
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      filetime_from_git/git_wrapper.py

+ 1 - 1
filetime_from_git/git_wrapper.py

@@ -106,7 +106,7 @@ class _GitWrapper(_GitWrapperCommon):
 
 
             Alternatively enabling GIT_FILETIME_FOLLOW may also make your problem go away.
             Alternatively enabling GIT_FILETIME_FOLLOW may also make your problem go away.
         '''
         '''
-        return list(self.repo.iter_commits(path=path))
+        return list(self.repo.iter_commits(paths=path))
 
 
     @staticmethod
     @staticmethod
     def get_commit_date(commit, tz_name):
     def get_commit_date(commit, tz_name):