From df0892351a394d768489b5647d47b73c24d3ef5f Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 2 Jun 2010 00:48:16 +0200 Subject: commit: initial version of commit_from_tree which could create commit objects if it could serialize itself --- lib/git/objects/base.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/git/objects/base.py') diff --git a/lib/git/objects/base.py b/lib/git/objects/base.py index 6a51eed3..bb15192d 100644 --- a/lib/git/objects/base.py +++ b/lib/git/objects/base.py @@ -141,6 +141,7 @@ class Object(LazyMixin): self.repo.git.cat_file(self.type, self.sha, output_stream=ostream) return self + class IndexObject(Object): """ Base for all objects that can be part of the index file , namely Tree, Blob and -- cgit v1.2.1