code: def get_commits(self, path, follow=False):
          '''
          Get all commits including path
  
          :param path: Path which we will find commits for
          :param bool follow: If True we will follow path through renames
  
          :returns: Sequence of commit objects. Newest to oldest
          '''
          if follow:
              return self.get_commits_following(path)
          else:
              return self._get_commits(pathf get_commits(self, path, follow=False):
          '''
          Get all commits including path
  
          :param path: Path which we will find commits for
          :param bool follow: If True we will follow path through renames
  
          :returns: Sequence of commit objects. Newest to oldest
          '''
          if follow:
              return self.get_commits_following(path)
          else:
              return self._get_commits(path)
docs: Get all commits including path
  
          :param path: Path which we will find commits for
          :param bool follow: If True we will follow path through renames
  
          :returns: Sequence of commit objects. Newest to oldest