Bug: global bash variable leak on __gitcompappend

From: Marcio Almada <hidden>
Date: 2016-06-15 23:04:23

Hi,

This is how to reproduce the bug:
git checkout [tab-tab]
echo $x # outputs the name of the last branch on completion list
Or more directly:
__gitcompappend "something"
echo $x # outputs 'something'
No big deal, but it's annoying to know that `$x` is lurking.

Cheers,
Márcio Almada.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help