Re: git difftool does not give the --cached option
- Date: Tue, 9 Oct 2018 10:59:46 -0700
- From: Stefan Beller <sbeller@xxxxxxxxxx>
- Subject: Re: git difftool does not give the --cached option
On Tue, Oct 9, 2018 at 7:33 AM Ντέντος Σταύρος <stdedos@xxxxxxxxx> wrote:
> I have install the latest git version from the PPA:
> $ git --version
> git version 2.19.1
> $ lsb_release -rd
> Description: Ubuntu 16.04.5 LTS
> Release: 16.04
> However, trying to autocomplete git difftool --cached gives:
> $ env -i bash --rcfile /etc/profile
> $ . /usr/share/bash-completion/completions/git
> $ git difftool --
> --dir-diff --extcmd= --gui --no-...
> --no-prompt --symlinks --tool-help
> --tool= --trust-exit-code
> Please direct me on what would require more attention.
> /usr/share/bash-completion/completions/git is the same as the
> git@master/contrib/completion/git-completion.bash and e.g. here:
> It seems that --cached exists.
and it seems that there are more options that are not completed,
not just --cached. I don't know offhand where to look further, though.
> (Side question: What is the "--no-..." option shown? I cannot seem to
> find it anywhere in the documentation :/)
Answering the side question, see
b221b5ab9b (completion: collapse extra --no-.. options, 2018-06-06)