Re: ks/precompute-completion
- From
Stephen Boyd <bebarino@gmail.com>
- Date
- Nov 13, 2009, 06:40 UTC
- Message-ID
- <4AFCFF50.5080401@gmail.com>
- In-Reply-To
- <20091111220832.GA31620@progeny.tock>
Jonathan Nieder wrote:
Show 17 quoted lines
>
> As a distro user, I don't think I would be able to use it until there
> is a command to update the installed completion, to call after adding
> a new git command to my $PATH. This could mean:
>
> - git-completion.bash.generate learns to read the .in file and
> write the completion script to arbitrary paths (or just always
> uses stdin and stdout?)
>
> - distros install git-completion.bash.{generate,in} to /usr/share/git-core
>
> - distros install a simple completion script to /etc/bash_completion.d
> that passes the buck, e.g.
>
> <snip scripts>
>
> Thoughts?I'm confused. Shouldn't your distro take care of updating the completion for you? And wouldn't update-git-completion be more suited as part of a makefile if it was needed at all?