zsh-workers
 help / color / 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

* Re: Bug in "git stash drop" completion: "_arguments:comparguments:325: invalid argument: _git-notes"
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Shahaf @ 2020-06-22  8:17 UTC (permalink / raw)
  To: Axel Beckert; +Cc: zsh-workers

Axel Beckert wrote on Mon, 22 Jun 2020 03:51 +0200:
> Hi,
> 
> just ran into zsh 5.8 throwing these errors upon "git stash drop" tab
> completion:
> 

Fixed by zsh-5.8-44-g754658aff, I assume?

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

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

* Re: Bug in "git stash drop" completion: "_arguments:comparguments:325: invalid argument: _git-notes"
  2020-06-22  8:17 ` Daniel Shahaf
@ 2020-06-22  9:04   ` Axel Beckert
  0 siblings, 0 replies; 3+ messages in thread
From: Axel Beckert @ 2020-06-22  9:04 UTC (permalink / raw)
  To: Daniel Shahaf; +Cc: zsh-workers

Hi,

On Mon, Jun 22, 2020 at 08:17:10AM +0000, Daniel Shahaf wrote:
> > just ran into zsh 5.8 throwing these errors upon "git stash drop" tab
> > completion:
> 
> Fixed by zsh-5.8-44-g754658aff, I assume?

Sounds so. Unfortunately unposted — and I just checked my zsh mailing
list archive, not git. :-/

Sorry for the noise and thanks for the pointer to which git commit to
cherry-pick for the next Debian upload.

		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, back to index

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

zsh-workers

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git