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

Re: Bug in git tab completion: If git.showSignature = true is set globally, tab completion of commits is garbled



dana wrote on Sat, 09 Mar 2019 16:26 +00:00:
> On 8 Mar 2019, at 14:22, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> >Should we use git-rev-list(1) instead of git-log(1)?  The former is a
> >plumbing command, so should be the more appropriate interface for this
> >use-case.
> 
> Not sure. For a plumbing command it leaves a bit to be desired; it has no -z

It does have %x00, though.

> and it doesn't really respect the format you tell it to use. In fact the
> 'commit 1234567890...' header it prints is actually hard-coded.

Huh.  Odd, but I think we can live with that: we can just have _git
discard the hardcoded header line that git emits.  All we really care
about is that future git versions will continue to emit that line.  I
assume they will, for compatibility reasons.

Cheers,

Daniel



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