rtk-ai/rtk

rtk git show differ from git show on binary files

Aberta

#1.071 aberto em 7 de abr. de 2026

 (1 comentário) (0 reação) (0 responsável)Rust (2.914 forks)batch import
area:clibugeffort-smallfilter-qualitygood first issueneeds-reproductionpriority:medium

Métricas do repositório

Stars
 (48.085 estrelas)
Métricas de merge de PR
 (Mesclagem média 11d 1h) (45 fundiu PRs em 30d)

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.

Guia do colaborador