From 2b3eaf3b457ba8c99a6ac97f7c0d57d12a5a0489 Mon Sep 17 00:00:00 2001 From: Nico von Geyso Date: Sun, 12 Aug 2012 14:41:53 +0200 Subject: fix use commit sha oid instead of blob --- fit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3-1-g7c22