zsh-workers
 help / color / mirror / code / Atom feed
* _git commit object name completion
@ 2015-05-19  1:38 Daniel Shahaf
  2015-05-19  4:40 ` Bart Schaefer
  2015-05-19  8:27 ` Daniel Hahler
  0 siblings, 2 replies; 8+ messages in thread
From: Daniel Shahaf @ 2015-05-19  1:38 UTC (permalink / raw)
  To: zsh-workers

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


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

end of thread, other threads:[~2015-06-11 11:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-19  1:38 _git commit object name completion Daniel Shahaf
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

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