rtk-ai/rtk

rtk git show differ from git show on binary files

Open

#1071 opened on Apr 7, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (48,085 stars) (2,914 forks)batch import
bugeffort-smallfilter-qualitygood first issue

Description

Hello,

tested with rtk versions 0.30.0 and 0.35.0

git show <commit>:<file> returns the file content for the given commit.

When <file> is a binary file, I get a different output with:

  • rtk git show <commit>:<binary_file> | md5sum

and

  • git show <commit>:<binary_file> | md5sum

I have the same output when the file is a plain text file.

Contributor guide