Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug in "git stash drop" completion: "_arguments:comparguments:325: invalid argument: _git-notes"
- X-seq: zsh-workers 46093
- From: Axel Beckert <abe@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Bug in "git stash drop" completion: "_arguments:comparguments:325: invalid argument: _git-notes"
- Date: Mon, 22 Jun 2020 03:51:57 +0200
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: DeuxChevaux.org -- The Citroën 2CV Database
- Sender: zsh-workers@xxxxxxx
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@xxxxxxxxxxxxxxx \ / Say No to HTML in E-Mail and Usenet
Mail+Jabber: abe@xxxxxxxxx X
https://axel.beckert.ch/ / \ I love long mails: https://email.is-not-s.ms/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author