diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-28 10:58:24 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-28 10:58:24 +0100 |
commit | 87afd252bd11026b6ba3db8525f949cfb62c90fc (patch) | |
tree | c84aa9aef07e916e6c306df5552e9c9861edc077 /lib/git/remote.py | |
parent | 2f8e6f7ab1e6dbd95c268ba0fc827abc62009013 (diff) | |
download | gitpython-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/remote.py')
-rw-r--r-- | lib/git/remote.py | 8 |
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): """ |