diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-28 19:15:42 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-28 19:15:54 +0200 |
commit | 1fe889ea0cb2547584075dc1eb77f52c54b9a8c4 (patch) | |
tree | cd3685e0bd87441eab4888efbc4e14a232a65a7b /lib/git/repo.py | |
parent | 47e3138ee978ce708a41f38a0d874376d7ae5c78 (diff) | |
download | gitpython-1fe889ea0cb2547584075dc1eb77f52c54b9a8c4.tar.gz |
All tests adjusted to work with the changed internal sha representation
Diffstat (limited to 'lib/git/repo.py')
-rw-r--r-- | lib/git/repo.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/git/repo.py b/lib/git/repo.py index 2cae0508..9b25653f 100644 --- a/lib/git/repo.py +++ b/lib/git/repo.py @@ -21,7 +21,8 @@ from db import ( from gitdb.util import ( join, isdir, - isfile + isfile, + hex_to_bin ) import os import sys @@ -576,7 +577,7 @@ class Repo(object): sha = info['id'] c = commits.get(sha) if c is None: - c = Commit( self, sha, + c = Commit( self, hex_to_bin(sha), author=Actor._from_string(info['author'] + ' ' + info['author_email']), authored_date=info['author_date'], committer=Actor._from_string(info['committer'] + ' ' + info['committer_email']), |