summaryrefslogtreecommitdiffstats
path: root/g2h/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'g2h/git.py')
-rw-r--r--g2h/git.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/g2h/git.py b/g2h/git.py
index 079c50b..1e835e7 100644
--- a/g2h/git.py
+++ b/g2h/git.py
@@ -13,5 +13,8 @@ class Git:
def get_commits(self):
return list(self.repo.iter_commits())
+ def get_repo(self):
+ return self.repo
+
def get_tags(self):
return self.repo.tags