pkg.sopackage field notes

brew / 排名 1015

使用 Homebrew 安装 difftastic

查看 difftastic 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install difftastic

provider-native install command

概览

软件包摘要

Diff that understands syntax

命令和别名

  • difft

历史

项目历史与用法

Difftastic is a structural diff tool that compares files using syntax rather than only lines, producing human-oriented output for code review and version-control workflows.

项目历史

The project README defines Difftastic as a syntax-aware diff tool and explicitly contrasts it with line-oriented diffing. Its changelog shows rapid development from the 0.1 series in 2021 through regular parser, display, Git-integration, and performance improvements.

采用历史

The official installation documentation covers multiple package-manager routes, and the README highlights compatibility with Git and other version-control systems. The manual provides specific Git aliases, `diff.external`, and `difftool` configuration, which made the tool easy to adopt incrementally.

使用方式

Difftastic is commonly invoked as `difft` directly or wired into Git so `git diff`, `git show`, or `git log -p` can display syntax-aware differences. When files are unrecognized or parsing fails, the README documents fallback behavior to line-oriented diffing.

为什么软件包爱好者会关心

Difftastic is interesting to package nerds because it packages tree-sitter-backed structural comparison as a normal CLI. It lets maintainers review source changes in languages where reformatting, delimiters, and nested syntax can obscure the real change in a traditional unified diff.

时间线

  • 2021: 0.1 series began, followed by frequent early releases.
  • 2022: Changelog shows continued language, parser, and display expansion through the 0.30 series.
  • 2025: 0.63 taught directory diffs to ignore `.git` directories.
  • 2026: 0.69 released with punctuation-aware syntactic comparison improvements.

Related projects

  • Difftastic is related to traditional `diff`, Git external diff drivers, Git difftool integration, and tree-sitter parsers; its README also points users interested in AST merging to mergiraf.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
difft可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.69.0
管理器更新时间2026-06-15
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:difftastic
版本0.69.0
软件包管理器Homebrew
主页https://difftastic.wilfred.me.uk/
仓库https://github.com/Wilfred/difftastic
最后更新2026-06-15T10:20:15-04:00
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation