Closed pspacek closed 2 years ago
Valgrind is a bit overkill here, a simple :!echo %(lineno)
would have been enough to let Tig off the hook. test.sh is the one to blame here, you can't use LINENO
for a variable name, see bash(1)
.
Thank you very much - and my apologies! I did not suspect Bash builtin :facepalm:
Version affected: 13bcb402230a3ff7e668966cda9e5d125711a4d4
No matter what I try the
%(lineno)
expansion for "blame" view custom binding always returns value "9".Reproducer
Configuration:
Script
/tmp/test.sh
:Command:
Now press
e
while standing on the first line of blame view.test.sh output:
Huh?
I tried to move the cursor to a different line but number 9 stays there. Valgrind does not complain about uninitialized memory.