Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] improved git completion



On Thu, Jan 24, 2008 at 11:12:49PM +0000, Jörg Sommer wrote:
> Hi Dominik,
> 
> Dominik Vogt <dominik.vogt@xxxxxx> wrote:
> > Attached to this message you can find a series of patches to the
> > git completion file (installed as
> > /usr/share/zsh/4.3.2/functions/Completion/Unix/_git, no idea where
> > it lives in the source tree).
> 
> Your patches don't apply at me. Can you use the repository at
> git://repo.or.cz/zsh.git and resend the patches?

Hm, the original code has changed dramatically since I began
writing the patches, and I don't have the time to do it again from
scratch.  All I can do is to offer the original author of the git
completion stuff to take the last two patches as a base to rewrite
his own completion code to

1) handle GIT_DIR and --git-dir=,
2) copy without git-ls-remote (which ist *slooow* and potentially
   requires a network connection),
3) improve git-branch completion.

Actually, the use of git-ls-remote renders the current git
completion pretty much useless for me as I am not going to wait
four seconds for the completion list or tags and heads to be
built.  Until there's a solution for this problem I'll just have
to use my own version of git completion.  Sorry.

Ciao

Dominik ^_^  ^_^

-- 
Dominik Vogt



Messages sorted by: Reverse Date, Date, Thread, Author