All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix global bash variable on __gitcompappend
@ 2015-04-08  5:45 Márcio Almada
  2015-04-08  5:45 ` [PATCH] fix global bash variable leak " Márcio Almada
  0 siblings, 1 reply; 6+ messages in thread
From: Márcio Almada @ 2015-04-08  5:45 UTC (permalink / raw)
  To: git

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'
```

Might not be a big deal, but it's annoying to know that `$x` is lurking.

Márcio Almada (1):
  fix global bash variable leak on __gitcompappend

 contrib/completion/git-completion.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-09 19:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-08  5:45 [PATCH] fix global bash variable on __gitcompappend Márcio Almada
2015-04-08  5:45 ` [PATCH] fix global bash variable leak " Márcio Almada
2015-04-09  3:56   ` Junio C Hamano
2015-04-09  8:55     ` SZEDER Gábor
2015-04-09 13:52     ` Marcio Almada
2015-04-09 19:26       ` Eric Sunshine

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.