rtk-ai/rtk

rtk git show differ from git show on binary files

Open

#1071 aperta il 7 apr 2026

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Rust (2914 fork)batch import
area:clibugeffort-smallfilter-qualitygood first issueneeds-reproductionpriority:medium

Metriche repository

Star
 (48.085 star)
Metriche merge PR
 (Merge medio 11g 1h) (45 PR mergiate in 30 g)

Descrizione

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.

Guida contributor