Skip to content

Commit df08923

Browse files
committed
commit: initial version of commit_from_tree which could create commit objects if it could serialize itself
1 parent 6d9b1f4 commit df08923

File tree

5 files changed

+815
-613
lines changed

5 files changed

+815
-613
lines changed

Diff for: CHANGES

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
=======
22
CHANGES
33
=======
4-
4+
5+
0.2 Beta 2
6+
===========
7+
* Commit objects now carry the 'encoding' information of their message. It wasn't parsed previously, and defaults to UTF-8
8+
59
0.2
610
=====
711
General

Diff for: lib/git/objects/base.py

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def stream_data(self, ostream):
141141
self.repo.git.cat_file(self.type, self.sha, output_stream=ostream)
142142
return self
143143

144+
144145
class IndexObject(Object):
145146
"""
146147
Base for all objects that can be part of the index file , namely Tree, Blob and

0 commit comments

Comments
 (0)