Skip to content

DiffCode 0.7.1

Choose a tag to compare

@ihou ihou released this 02 Dec 03:54

macOS: Download DiffCode.pkg for Apple Silicon Macs, or DiffCode-Intel.pkg for Intel Macs — signed and notarized by Apple; copies already installed update themselves. Prefer to drag it in? Use DiffCode.zip or DiffCode-Intel.zip. Requires macOS 14 or later. Not sure which Mac you have? Apple menu → About This Mac: "Chip: Apple M…" is Apple Silicon, "Processor: … Intel …" is Intel.

Windows: Download DiffCode-Setup-x64.exe — installs for your account, no administrator rights needed; or unzip DiffCode-windows-x64.zip and run it. Requires 64-bit Windows 10 (version 1809) or later. The installer is not code-signed, so on first run Windows SmartScreen may say "Windows protected your PC": choose More info → Run anyway.

Linux: Download DiffCode-linux-x86_64.tar.gz, or DiffCode-linux-aarch64.tar.gz for 64-bit Arm. Unpack it and run DiffCode/install.sh: it installs for your account, no root needed, and adds DiffCode to the applications menu (install.sh --uninstall removes it). Requires GTK 3 and glibc 2.35 or later (Ubuntu 22.04, Debian 12, Fedora 36 or newer), on X11 or Wayland, and Git. To update, run the new download's install.sh.

New

  • A bigger Git graph (#19). A new button at the right end of the Git graph's bottom bar maximizes it: the graph then fills the window below the title bar, and the same button restores it. DiffCode remembers which size you left it at. The divider between the branch list and the commits now drags, so long branch names fit; the width is remembered, and a double-click on the divider puts it back. This is for the Mac, Windows and Linux apps.
  • Update a branch without checking it out (#19). Right-click a local branch in the Git graph and choose Update from origin/… to bring it up to the branch it follows. Only that branch moves: the branch you have checked out, your staged changes and the files in the work tree stay as they are. If the branch has commits of its own and the upstream has new ones too, the two have diverged: DiffCode says so and offers to check the branch out, so you can pull there with a merge or a rebase. The item is there for branches that follow another and are not checked out in any work tree. This is for the Mac, Windows and Linux apps.

新功能

  • **Git 图可以放大(#19)。**Git 图底栏最右边多了一个按钮,点一下就最大化:Git 图铺满标题栏下方的整个窗口,再点一下还原。DiffCode 会记住你最后用的大小。分支列表和提交之间的分隔线可以左右拖动,长分支名也能显示完整;宽度会记住,双击分隔线恢复默认。Mac、Windows 和 Linux 版都有。
  • **不检出也能更新分支(#19)。**在 Git 图里右键一个本地分支,选 从 origin/… 更新,就能把它更新到它跟踪的分支。只移动这一个分支:当前检出的分支、暂存的改动和工作区里的文件都保持原样。如果这个分支有自己的提交,上游也有新提交,两者就分叉了:DiffCode 会说明情况,并提供“检出”,检出后再用合并或变基拉取。跟踪了上游、又没有在任何工作树里检出的分支才有这一项。Mac、Windows 和 Linux 版都有。

Checksums are in SHA256SUMS.txt (macOS), SHA256SUMS-windows.txt (Windows) and SHA256SUMS-linux.txt (Linux).