We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d450e5 + 638da2b commit b8e6cccCopy full SHA for b8e6ccc
1 file changed
bin/main
@@ -107,9 +107,8 @@ class Object(NamedTuple):
107
else:
108
mode, _, path = pt1.decode().partition(' ')
109
oid_bts, bts = bts[:20], bts[20:]
110
- oid = ''.join(f'{c:02x}' for c in oid_bts)
111
112
- ret.append(Index(mode=mode, path=path, oid=oid))
+ ret.append(Index(mode=mode, path=path, oid=oid_bts.hex()))
113
114
return ret
115
0 commit comments