summaryrefslogtreecommitdiff
path: root/test/git/performance/test_commit.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-29 12:10:56 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-29 12:10:56 +0200
commit6917ae4ce9eaa0f5ea91592988c1ea830626ac3a (patch)
tree75f0f55477a70f52eeb72512116ca143cea2f4ec /test/git/performance/test_commit.py
parentf1401803ccf7db5d897a5ef4b27e2176627c430e (diff)
downloadgitpython-6917ae4ce9eaa0f5ea91592988c1ea830626ac3a.tar.gz
Diff: fixed bug that caused a string to end up as a blob mode
Diffstat (limited to 'test/git/performance/test_commit.py')
-rw-r--r--test/git/performance/test_commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/performance/test_commit.py b/test/git/performance/test_commit.py
index a951f242..62d409fc 100644
--- a/test/git/performance/test_commit.py
+++ b/test/git/performance/test_commit.py
@@ -82,7 +82,7 @@ class TestPerformance(TestBigRepoRW):
nc = 5000
st = time()
for i in xrange(nc):
- cm = Commit( rwrepo, Commit.NULL_HEX_SHA, hc.tree,
+ cm = Commit( rwrepo, Commit.NULL_BIN_SHA, hc.tree,
hc.author, hc.authored_date, hc.author_tz_offset,
hc.committer, hc.committed_date, hc.committer_tz_offset,
str(i), parents=hc.parents, encoding=hc.encoding)