git - 如何在 gitk 中设置 diff 选项(--compaction-heuristic)

标签 git git-diff gitk

git 2.9 版本带有一个实验性差异算法 --compaction-heuristic。我已经设置了 git 和 git gui 来使用它。

但是我不知道如何配置 gitk 来使用这个选项。我知道 .gitk 配置文件,但我不知道如何配置 diff 选项。

最佳答案

在你的 git 配置中设置 diff.compactionHeuristic true 应该被 gitk 选中。

git config --global diff.compactionHeuristic true

关于git - 如何在 gitk 中设置 diff 选项(--compaction-heuristic),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37986898/

相关文章:

git - 有什么办法可以排除分支在 GitK 中的显示吗?

Git 工作流程和 rebase 与 merge 问题

ruby-on-rails - bundler ,Rails3 : how to avoid git check of edge gems in :test group during deploying?

git - araxis merge for mac 和 git diff

git - 为什么gitk在编辑下没有复制/粘贴菜单项?

gitk - 在 gitk 中启用自动换行以在 Mac 上显示提交消息

git - 如何交互式地挑选

git - 使用 Git 提交消息在 Trac 中关闭票证

git - 为什么 `git diff` 报告 `git add` 之后没有文件更改

git - 基于 Emacs 的 Git 差异工具?