summaryrefslogtreecommitdiff
path: root/lib/git/objects/base.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-02 00:48:16 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-02 01:04:16 +0200
commitdf0892351a394d768489b5647d47b73c24d3ef5f (patch)
treefc2cbca826f2b728fe58aa22a09e3a65c12543ae /lib/git/objects/base.py
parent6d9b1f4f9fa8c9f030e3207e7deacc5d5f8bba4e (diff)
downloadgitpython-df0892351a394d768489b5647d47b73c24d3ef5f.tar.gz
commit: initial version of commit_from_tree which could create commit objects if it could serialize itself
Diffstat (limited to 'lib/git/objects/base.py')
-rw-r--r--lib/git/objects/base.py1
1 files changed, 1 insertions, 0 deletions
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