Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
_git commit object name completion
- X-seq: zsh-workers 35199
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: _git commit object name completion
- Date: Tue, 19 May 2015 01:38:03 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=EOq vcKMRZ1FSabYNBcQLtwL0mRE=; b=s9x5VE3QehAooz+nHBUybHKmE+t7GKWu0CR DALkoDkTPz9lZ7/dpybdVAuZYyK4bva7NKytBpjXBSMbornsRR/pI1u7zF/Tvmqk r62AOYu96HBndlp1gdgUhXP7n6SBLyhKFV2JTJIziXicfJ/J2Z+lgxq+ugNMwEUB 1dzrOg5s=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=EO qvcKMRZ1FSabYNBcQLtwL0mRE=; b=ll2+Bcdd0kS9fXGFmGnfqUDk3DR+q6x/wu GZ/Z3l4Bghbg38AmztQW0/VI4leJ1fG4EB6hjWEDNy8dVCQ7gXl96/WIdaz/QpO7 1rrRRjQsEilhnSfvGjvTfLkzBngIA64O8S39exMBYeLKbkpZdHHDXhnCvBnOZ6Br 8NFp2JYqo=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
I am seeing an issues with the new __git_commit_objects completion.
In 'zsh -f':
% autoload compinit; compinit
% git reflog --all
ebca657 refs/heads/master@{0}: reset: moving to HEAD^
f82ecfc refs/heads/master@{1}: commit: m
ebca657 refs/heads/master@{2}: commit (initial): m
% git checkout f<TAB><TAB><TAB>
f82ecfc -- [f82ecfc] m (3 minutes ago)
I expected 'f82ecfc' to be added to the command-line immediately, as
it's the only completion. Instead, I only get the list of possible
completions and the buffer remains unmodified, no matter how many times
I press <TAB>.
Further information:
- That's in a new repository with just two commits in it: ebca657 is the root
and f82ecfc has ebca657 as its parent, and HEAD is ebca657.
- At one point I saw _two_ suggested completions:
f82ecfc -- [f82ecfc] m (88 seconds ago)
f82ecfc -- [f82ecfc] m (89 seconds ago)
Using master, revision ff190946690b5e770721462b706029559c0f9587.
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author