rtk-ai/rtk

rtk git show differ from git show on binary files

Open

#1,071 创建于 2026年4月7日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Rust (2,914 fork)batch import
area:clibugeffort-smallfilter-qualitygood first issueneeds-reproductionpriority:medium

仓库指标

Star
 (48,085 star)
PR 合并指标
 (平均合并 11天 1小时) (30 天内合并 45 个 PR)

描述

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.

贡献者指南