X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/04f3d4bb44d7ef30e705b53f3d15e3279ac0d230..16db967b0577c376f29e0d72cef8aa2e3a5a84f0:/packages/diff-hl/README.md diff --git a/packages/diff-hl/README.md b/packages/diff-hl/README.md index b8bbe3a27..725466b46 100644 --- a/packages/diff-hl/README.md +++ b/packages/diff-hl/README.md @@ -52,6 +52,16 @@ Notes it's only accurate when the buffer is in saved state. Check out `diff-hl-flydiff-mode`, it aims to handle unsaved buffers as well. +* To use an + [alternative diff algorithm](http://stackoverflow.com/questions/32365271/whats-the-difference-between-git-diff-patience-and-git-diff-histogram) + with Git, add a corresponding argument to `vc-git-diff-switches`, + e.g. `(setq vc-git-diff-switches '("--histogram"))`. Using the + `diff.algorithm` option doesn't work + [because](http://article.gmane.org/gmane.comp.version-control.git/294622) + `vc-git-diff` calls `git diff-index`. `diff-hl-flydiff-mode` does + not support alternative algorithms, because it uses the external + `diff` program. + * We conflict with other modes when they put indicators on the fringe, such as [Flycheck](https://github.com/flycheck/flycheck). This is rarely a significant problem, since if you're using such a mode,