summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-08-12 14:41:53 +0200
committerNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-08-12 14:41:53 +0200
commit2b3eaf3b457ba8c99a6ac97f7c0d57d12a5a0489 (patch)
treeab2c431ebe9d10f4466ba871ddc4d406f1ae8571
parentf827fd50638a23cfb48fa7f39d690795de89c1d6 (diff)
downloadklausuren-2b3eaf3b457ba8c99a6ac97f7c0d57d12a5a0489.tar.gz
klausuren-2b3eaf3b457ba8c99a6ac97f7c0d57d12a5a0489.tar.bz2
klausuren-2b3eaf3b457ba8c99a6ac97f7c0d57d12a5a0489.zip
fix use commit sha oid instead of blob
-rw-r--r--fit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fit.py b/fit.py
index 511a0e3..ecc4a74 100644
--- a/fit.py
+++ b/fit.py
@@ -99,7 +99,7 @@ class Fit:
)
with open('static/fit.git/info/refs', 'w') as f:
- f.write('%s\trefs/heads/master\n' % b2a_hex(blob_oid).decode('ascii'))
+ f.write('%s\trefs/heads/master\n' % b2a_hex(commit).decode('ascii'))
return b2a_hex(blob_oid).decode('ascii')