diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-19 22:49:52 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-19 22:59:15 +0200 |
commit | 0b3ecf2dcace76b65765ddf1901504b0b4861b08 (patch) | |
tree | 04fad7e2ac3f85afe7fe28a5e6907b8a88abfaba /lib/git/refs.py | |
parent | 11b1f6edc164e2084e3ff034d3b65306c461a0be (diff) | |
download | gitpython-0b3ecf2dcace76b65765ddf1901504b0b4861b08.tar.gz |
commit.count: is an instance method now
repo: added head , tag and iter_trees methods for completeness
changes: headlines now sorted chronologically
Diffstat (limited to 'lib/git/refs.py')
-rw-r--r-- | lib/git/refs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/git/refs.py b/lib/git/refs.py index 618babc2..3428915e 100644 --- a/lib/git/refs.py +++ b/lib/git/refs.py @@ -174,7 +174,7 @@ class Head(Reference): return self.object -class TagRef(Reference): +class TagReference(Head): """ Class representing a lightweight tag reference which either points to a commit or to a tag object. In the latter case additional information, like the signature @@ -219,9 +219,9 @@ class TagRef(Reference): # provide an alias -Tag = TagRef +Tag = TagReference -class RemoteRef(Head): +class RemoteReference(Head): """ Represents a reference pointing to a remote head. """ |