diff options
author | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2012-08-12 14:33:24 +0200 |
---|---|---|
committer | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2012-08-12 14:33:24 +0200 |
commit | a25da6381934edc4582b8ba87b44c50196dd91ff (patch) | |
tree | 02c2b2f3525bb6cc22d2ad386686e9a512f3d25d | |
parent | cbdb295315016e5bbdb2689d3afa2a086fdcc0ec (diff) | |
download | klausuren-a25da6381934edc4582b8ba87b44c50196dd91ff.tar.gz klausuren-a25da6381934edc4582b8ba87b44c50196dd91ff.tar.bz2 klausuren-a25da6381934edc4582b8ba87b44c50196dd91ff.zip |
use commit oid instead of tree oid
-rw-r--r-- | fit.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -98,11 +98,10 @@ class Fit: parents ) - oid_hex = b2a_hex(blob_oid).decode('ascii') with open('static/fit.git/info/refs', 'w') as f: - f.write('%s\trefs/heads/master' % oid_hex) + f.write('%s\trefs/heads/master' % b2a_hex(blob_oid).decode('ascii')) - return oid_hex + return b2a_hex(blob_oid).decode('ascii') def get_file(self, oid): |