summaryrefslogtreecommitdiff
path: root/lib/git
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-28 10:58:24 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-10-28 10:58:24 +0100
commit87afd252bd11026b6ba3db8525f949cfb62c90fc (patch)
treec84aa9aef07e916e6c306df5552e9c9861edc077 /lib/git
parent2f8e6f7ab1e6dbd95c268ba0fc827abc62009013 (diff)
downloadgitpython-87afd252bd11026b6ba3db8525f949cfb62c90fc.tar.gz
tag handling tests finished, unfortunately there is not yet a rejected case, but it will assuambly follow with the push tests
Diffstat (limited to 'lib/git')
-rw-r--r--lib/git/remote.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/git/remote.py b/lib/git/remote.py
index dde3be4c..02a955b0 100644
--- a/lib/git/remote.py
+++ b/lib/git/remote.py
@@ -96,6 +96,14 @@ class Remote(LazyMixin, Iterable):
"""
return self.ref.name
+ @property
+ def commit(self):
+ """
+ Returns
+ Commit of our remote ref
+ """
+ return self.ref.commit
+
@classmethod
def _from_line(cls, repo, line, fetch_line):
"""