[Java] Stuck at write-tee

I coded solution for write-tree command. And when I’m testing it it outputs the same SHA-1 as git, after zlib-decompression files looks 1:1, zlib-compressed file also looks the same for git implementation, and for my implementation.

But I’m still receiving “test failed” with message ": Git object file doesn’t match official Git implementation. This file must be zlib-compressed.

I forgot to implement something? I tried almost everything, and I’m still receiving same error message.

Hey @Widua, looks like your implementation is adding some trailing zeros that aren’t part of the Git specification.

Let me know if you’d like further assistance!

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.