diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-04 14:41:15 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-04 14:41:15 +0200 |
commit | a1e80445ad5cb6da4c0070d7cb8af89da3b0803b (patch) | |
tree | ff94069b9d49d5a06576a0838a1bbde1e8c992ae /lib/git/objects/commit.py | |
parent | b01ca6a3e4ae9d944d799743c8ff774e2a7a82b6 (diff) | |
download | gitpython-a1e80445ad5cb6da4c0070d7cb8af89da3b0803b.tar.gz |
initial version of new odb design to facilitate a channel based multi-threading implementation of all odb functions
Diffstat (limited to 'lib/git/objects/commit.py')
-rw-r--r-- | lib/git/objects/commit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/objects/commit.py b/lib/git/objects/commit.py index d56ce306..dbc0cf27 100644 --- a/lib/git/objects/commit.py +++ b/lib/git/objects/commit.py @@ -346,7 +346,7 @@ class Commit(base.Object, Iterable, diff.Diffable, utils.Traversable, utils.Seri streamlen = stream.tell() stream.seek(0) - new_commit.sha = repo.odb.to_object(cls.type, streamlen, stream, sha_as_hex=True) + new_commit.sha = repo.odb.store(cls.type, streamlen, stream, sha_as_hex=True) if head: try: |