diff options
-rw-r--r-- | fit.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -98,7 +98,11 @@ class Fit: parents ) - return b2a_hex(blob_oid).decode('ascii') + 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) + + return oid_hex def get_file(self, oid): |