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.
{:02x}
1 parent 1d450e5 commit 638da2bCopy full SHA for 638da2b
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