git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Fwd: git difftool does not give the --cached option
       [not found] <CAHMHMxUDN4xKD9GfmOEx1bW1jDeWUgYgg_xdAtvLrFgMV2oCLQ@mail.gmail.com>
@ 2018-10-09 14:33 ` Ντέντος Σταύρος
  2018-10-09 17:59   ` Stefan Beller
  0 siblings, 1 reply; 3+ messages in thread
From: Ντέντος Σταύρος @ 2018-10-09 14:33 UTC (permalink / raw)
  To: git

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:
https://github.com/git/git/commit/6cc4bc15f92e85b41d9da9075905f20c6a9008fe#diff-f37c4f4a898819f0ca4b5ff69e81d4d9

It seems that --cached exists.

(Side question: What is the "--no-..." option shown? I cannot seem to
find it anywhere in the documentation :/)

Ntentos Stavros

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

* Re: git difftool does not give the --cached option
  2018-10-09 14:33 ` Fwd: git difftool does not give the --cached option Ντέντος Σταύρος
@ 2018-10-09 17:59   ` Stefan Beller
  2019-01-14 12:20     ` Ντέντος Σταύρος
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Beller @ 2018-10-09 17:59 UTC (permalink / raw)
  To: stdedos; +Cc: git

On Tue, Oct 9, 2018 at 7:33 AM Ντέντος Σταύρος <stdedos@gmail.com> 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:
> https://github.com/git/git/commit/6cc4bc15f92e85b41d9da9075905f20c6a9008fe#diff-f37c4f4a898819f0ca4b5ff69e81d4d9
>
> 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)
https://github.com/git/git/commit/b221b5ab9b92f3def37184db6e052ec87d7635b4

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

* Re: git difftool does not give the --cached option
  2018-10-09 17:59   ` Stefan Beller
@ 2019-01-14 12:20     ` Ντέντος Σταύρος
  0 siblings, 0 replies; 3+ messages in thread
From: Ντέντος Σταύρος @ 2019-01-14 12:20 UTC (permalink / raw)
  To: Stefan Beller; +Cc: git

FYI $ git --version
git version 2.20.1

solves this. I am not aware if you somehow track them / how to close
this thread.

Ntentos Stavros

On Tue, Oct 9, 2018 at 8:59 PM Stefan Beller <sbeller@google.com> wrote:
>
> On Tue, Oct 9, 2018 at 7:33 AM Ντέντος Σταύρος <stdedos@gmail.com> 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:
> > https://github.com/git/git/commit/6cc4bc15f92e85b41d9da9075905f20c6a9008fe#diff-f37c4f4a898819f0ca4b5ff69e81d4d9
> >
> > 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)
> https://github.com/git/git/commit/b221b5ab9b92f3def37184db6e052ec87d7635b4

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

end of thread, other threads:[~2019-01-14 12:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAHMHMxUDN4xKD9GfmOEx1bW1jDeWUgYgg_xdAtvLrFgMV2oCLQ@mail.gmail.com>
2018-10-09 14:33 ` Fwd: git difftool does not give the --cached option Ντέντος Σταύρος
2018-10-09 17:59   ` Stefan Beller
2019-01-14 12:20     ` Ντέντος Σταύρος

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).