diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-11 11:01:12 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-11 11:01:12 +0200 |
| commit | 9ee31065abea645cbc2cf3e54b691d5983a228b2 (patch) | |
| tree | 21e38d54e5a69d2983906f6ac30e6322ed9a7ef1 /lib/git/tag.py | |
| parent | 8430529e1a9fb28d8586d24ee507a8195c370fa5 (diff) | |
| download | GitPython-9ee31065abea645cbc2cf3e54b691d5983a228b2.tar.gz GitPython-9ee31065abea645cbc2cf3e54b691d5983a228b2.zip | |
Intermediate commit: commit,tree and blob objects now derive from object - test is in place which still fails on purpose. Need to integrate tags which can be objects or just a special form of a ref
Diffstat (limited to 'lib/git/tag.py')
| -rw-r--r-- | lib/git/tag.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/git/tag.py b/lib/git/tag.py index 8413ce73..df3158a6 100644 --- a/lib/git/tag.py +++ b/lib/git/tag.py @@ -7,6 +7,12 @@ from commit import Commit class Tag(object): + """ + Class representing a tag reference which either points to a commit + or to a tag object. In the latter case additional information, like the signature + or the tag-creator, is available. + """ + def __init__(self, name, commit): """ Initialize a newly instantiated Tag |
