git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-completion.bash emitting error messages
@ 2016-03-04 21:21 Дилян Палаузов
  0 siblings, 0 replies; only message in thread
From: Дилян Палаузов @ 2016-03-04 21:21 UTC (permalink / raw)
  To: git

Hello,

I use ./bash 4.3.42 with bundled libreadline and 
git/contrib/completion/git-completion.bash , as modified by commit 
8716bdca268 from 22 Feb 2016.

I cd to git.git (non-bare, with working tree) and type

git b62c.. ori<TAB> to force TAB-completion. And then on the shell comes 
the output  (on the same line) "error: key does not contain variable 
name: alias.b62c.."  Pressing again TAB repeats the message.  Even if 
TAB is pressed once, the printed text cannot be deleted with the 
backspace, so the only way to do something useful is to press ENTER.

While the command is indeed nonsense, in my understanding tab-completion 
shall do nothing, if completion is not possible.  In particular it shall 
not print error messages and even the user types stupid things, he shall 
not be required to force ENTER to come back to a clear state, where a 
command can by types.

Greetings
   Dilian

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-04 21:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-04 21:21 git-completion.bash emitting error messages Дилян Палаузов

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).