git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] Autocompletion fails with "bash: words: bad array subscript"
@ 2011-05-10 20:13 Sverre Rabbelier
  2011-05-10 20:31 ` Jeff King
  2011-05-10 22:14 ` [PATCH] completion: fix array indexing error after reverse history search SZEDER Gábor
  0 siblings, 2 replies; 12+ messages in thread
From: Sverre Rabbelier @ 2011-05-10 20:13 UTC (permalink / raw)
  To: Git List; +Cc: Shawn O. Pearce, SZEDER Gábor, Stephen Boyd

Heya,

[cced: git completion people]

This happens if I try use ctrl-shift-r (reverse-i-search) for the
string `git commit -am "S`, resulting in the following:

(reverse-i-search)`git commit -am "S': git commit -am "Set new Melange
version number to 2-0-20110501 in app.yaml.template."

If I then hit tab, I get:

$ bash: words: bad array subscriptversion number to 2-0-20110501 in
app.yaml.template."

Hitting tab again gives:

bash: words: bad array subscript

Display all 3032 possibilities? (y or n)

I have no clue how to debug this, other than that it doesn't happen if
I don't source ~/code/git/contrib/completion/git-completion.bash.

Anyone have any idea's?

-- 
Cheers,

Sverre Rabbelier

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

end of thread, other threads:[~2011-05-11 21:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-10 20:13 [BUG] Autocompletion fails with "bash: words: bad array subscript" Sverre Rabbelier
2011-05-10 20:31 ` Jeff King
2011-05-10 20:39   ` Jeff King
2011-05-10 20:47     ` Sverre Rabbelier
2011-05-10 21:01       ` Jeff King
2011-05-10 21:02         ` Sverre Rabbelier
2011-05-10 21:10           ` Jeff King
2011-05-10 22:39             ` SZEDER Gábor
2011-05-10 23:45               ` Jonathan Nieder
2011-05-11 21:09                 ` SZEDER Gábor
2011-05-10 22:14 ` [PATCH] completion: fix array indexing error after reverse history search SZEDER Gábor
2011-05-10 22:19   ` Sverre Rabbelier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).