branch: externals/diff-hl commit 8e0dad576d02e0408c8c94ead6e0c2fe48582bc3 Author: Dmitry Gutov <dmi...@gutov.dev> Commit: Dmitry Gutov <dmi...@gutov.dev>
diff-hl-show-staged-changes: Clarify new behavior --- diff-hl.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/diff-hl.el b/diff-hl.el index 47874adeec..be95d0a39d 100644 --- a/diff-hl.el +++ b/diff-hl.el @@ -220,7 +220,10 @@ performance when viewing such files in certain conditions." (defcustom diff-hl-show-staged-changes t "Whether to include staged changes in the indicators. -Only affects Git, it's the only backend that has staging area." +Only affects Git, it's the only backend that has staging area. + +When `diff-hl-highlight-reference-function' is non-nil, instead of being +hidden, the staged changes become part of the \"reference\" indicators." :type 'boolean) (defcustom diff-hl-goto-hunk-old-revisions nil