Created
May 25, 2013 13:05
-
-
Save marcelcaraciolo/5648989 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GitRepository(Repository): | |
""" | |
Read some basic statistics about a git repository | |
""" | |
def __init__(self, repo_path): | |
self.repo_path = repo_path | |
self.git = _git_command(self.repo_path) | |
(self.shas, self.messages, | |
self.timestamps, self.authors) = self._parse_commit_log() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment