zsh-workers
 help / color / mirror / code / Atom feed
* Bug in "git stash drop" completion: "_arguments:comparguments:325: invalid argument: _git-notes"
@ 2020-06-22  1:51 Axel Beckert
  2020-06-22  8:17 ` Daniel Shahaf
  0 siblings, 1 reply; 3+ messages in thread
From: Axel Beckert @ 2020-06-22  1:51 UTC (permalink / raw)
  To: zsh-workers

Hi,

just ran into zsh 5.8 throwing these errors upon "git stash drop" tab
completion:

% git stash drop stash@\{
_arguments:comparguments:325: invalid argument: _git-notes
_arguments:comparguments:325: invalid argument: _git-notes
% git stash drop stash@\{
_arguments:comparguments:325: invalid argument: _git-notes
_arguments:comparguments:325: invalid argument: _git-notes
_arguments:comparguments:325: invalid argument: _git-notes
_arguments:comparguments:325: invalid argument: _git-notes
_arguments:comparguments:325: invalid argument: _git-notes
% git stash drop stash@\{
_arguments:comparguments:325: invalid argument: _git-notes
_arguments:comparguments:325: invalid argument: _git-notes
_arguments:comparguments:325: invalid argument: _git-notes
_arguments:comparguments:325: invalid argument: _git-notes
_arguments:comparguments:325: invalid argument: _git-notes

The amount of warnings seems to become more the more often I tried it.

"git stash show -p" tab completion in the same git repository though
works as expected:

% git stash show -p stash@\{
completing stash
stash@{0}: WIP on debian: f1e2af0ca Update debian/changelog (4 months ago)
stash@{1}: WIP on debian: 14d262602 d/upstream/signing-key.asc: Add the 5.7 RM's signing key. (1 year, 5 months ago)
stash@{2}: WIP on debian: 06946d431 debian/TODO.md: Mention that switching zsh-dev to arch:all is non-trivial. (1 year, 6 months ago)

Not sure if relevant: I first successfully tab-completed "git stash
show -p stash@\{<Tab>" once, then ran into this issue, and then
successfully did tab-complete "git stash show -p stash@\{<Tab>" a
second time.

Versions:

* zsh 5.8 as of Debian unstable package 5.8-4.
* git 2.27.0 as of Debian unstable package 1:2.27.0-1.

		Kind regards, Axel
-- 
PGP: 2FF9CD59612616B5      /~\  Plain Text Ribbon Campaign, http://arc.pasp.de/
Mail: abe@deuxchevaux.org  \ /  Say No to HTML in E-Mail and Usenet
Mail+Jabber: abe@noone.org  X
https://axel.beckert.ch/   / \  I love long mails: https://email.is-not-s.ms/

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

end of thread, other threads:[~2020-06-22  9:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22  1:51 Bug in "git stash drop" completion: "_arguments:comparguments:325: invalid argument: _git-notes" Axel Beckert
2020-06-22  8:17 ` Daniel Shahaf
2020-06-22  9:04   ` Axel Beckert

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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