From 9ee31065abea645cbc2cf3e54b691d5983a228b2 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 11 Oct 2009 11:01:12 +0200 Subject: 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 --- lib/git/tag.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/git/tag.py') 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 -- cgit v1.2.3