If you call diff-hl-show-hunk outside of an actual hunk (for instance by pressing C-x v *) and the file you are visiting is under version control and have at least one modification-hunk point is moved to a hunk but shows something else than what is expected in the popup.
Instead of the diff (expected result) you get a diff where the deleted part is a reference to a shared memory file. A constructed example below where xxxxxxxxx is user name, !path!to!repo!path!to!file is a made-up path (actual path uses ! instead of / as folder separator), and abcdef123456789abcdef123456789 is a made-up SHA:
--- /dev/shm/#!home!xxxxxxxxx!path!to!repo!path!to!file#.~abcdef123456789abcdef123456789~
The added part in turn is (where 'name-of-buffer' is a made-up buffer name):
+++ #<buffer name-of-buffer>
If you call
diff-hl-show-hunkoutside of an actual hunk (for instance by pressingC-x v *) and the file you are visiting is under version control and have at least one modification-hunk point is moved to a hunk but shows something else than what is expected in the popup.Instead of the diff (expected result) you get a diff where the deleted part is a reference to a shared memory file. A constructed example below where
xxxxxxxxxis user name,!path!to!repo!path!to!fileis a made-up path (actual path uses!instead of/as folder separator), andabcdef123456789abcdef123456789is a made-up SHA:--- /dev/shm/#!home!xxxxxxxxx!path!to!repo!path!to!file#.~abcdef123456789abcdef123456789~The added part in turn is (where 'name-of-buffer' is a made-up buffer name):
+++ #<buffer name-of-buffer>