From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: _git commit object name completion
Date: Tue, 19 May 2015 01:38:03 +0000 [thread overview]
Message-ID: <20150519013803.GC2024@tarsus.local2> (raw)
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
next reply other threads:[~2015-05-19 1:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 1:38 Daniel Shahaf [this message]
2015-05-19 4:40 ` Bart Schaefer
2015-05-19 7:13 ` Daniel Hahler
2015-05-19 8:27 ` Daniel Hahler
2015-06-02 10:18 ` Daniel Shahaf
2015-06-06 19:27 ` Bart Schaefer
2015-06-07 22:38 ` Daniel Hahler
2015-06-11 11:30 ` ChangeLog generation (was: Re: _git commit object name completion) Daniel Shahaf
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=20150519013803.GC2024@tarsus.local2 \
--to=d.s@daniel.shahaf.name \
--cc=zsh-workers@zsh.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.
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).