From: "Дилян Палаузов" <dilyan.palauzov@aegee.org>
To: git@vger.kernel.org
Subject: git-completion.bash emitting error messages
Date: Fri, 4 Mar 2016 22:21:23 +0100 [thread overview]
Message-ID: <56D9FC53.9060706@aegee.org> (raw)
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
reply other threads:[~2016-03-04 21:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56D9FC53.9060706@aegee.org \
--to=dilyan.palauzov@aegee.org \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).