{"thread":{"id":"49515","subject":"Fwd: git difftool does not give the --cached option","startedAt":"2018-10-09T14:33:54Z","lastAt":"2019-01-14T12:21:19Z","messageCount":3,"participants":["Ντέντος Σταύρος","Stefan Beller"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"359924","messageId":"CAHMHMxWutm=jWC2nLJCEEE4CZ-ERc79vvwrbo8VnfC0VGwei0Q@mail.gmail.com","threadId":"49515","inReplyTo":"CAHMHMxUDN4xKD9GfmOEx1bW1jDeWUgYgg_xdAtvLrFgMV2oCLQ@mail.gmail.com","subject":"Fwd: git difftool does not give the --cached option","fromName":"Ντέντος Σταύρος","fromEmail":"stdedos@gmail.com","sentAt":"2018-10-09T14:33:15Z","receivedAt":"2018-10-09T14:33:54Z","isPatch":false,"sender":{"key":"stdedos@gmail.com","avatar":null},"body":"I have install the latest git version from the PPA:\n$ git --version\ngit version 2.19.1\n$ lsb_release -rd\nDescription: Ubuntu 16.04.5 LTS\nRelease: 16.04\n\nHowever, trying to autocomplete git difftool --cached gives:\n$ env -i bash --rcfile /etc/profile\n$ . /usr/share/bash-completion/completions/git\n$ git difftool --\n--dir-diff          --extcmd=           --gui               --no-...\n         --no-prompt         --symlinks          --tool-help\n--tool=             --trust-exit-code\n\nPlease direct me on what would require more attention.\n/usr/share/bash-completion/completions/git is the same as the\ngit@master/contrib/completion/git-completion.bash and e.g. here:\nhttps://github.com/git/git/commit/6cc4bc15f92e85b41d9da9075905f20c6a9008fe#diff-f37c4f4a898819f0ca4b5ff69e81d4d9\n\nIt seems that --cached exists.\n\n(Side question: What is the \"--no-...\" option shown? I cannot seem to\nfind it anywhere in the documentation :/)\n\nNtentos Stavros\n"},{"id":"359930","messageId":"CAGZ79kZCSen-jNE=XCzVds-gxFsnkK_nPoJw8sE00bXtTPf5+w@mail.gmail.com","threadId":"49515","inReplyTo":"CAHMHMxWutm=jWC2nLJCEEE4CZ-ERc79vvwrbo8VnfC0VGwei0Q@mail.gmail.com","subject":"Re: git difftool does not give the --cached option","fromName":"Stefan Beller","fromEmail":"sbeller@google.com","sentAt":"2018-10-09T17:59:46Z","receivedAt":"2018-10-09T18:00:00Z","isPatch":false,"sender":{"key":"stefanbeller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/455868?v=4"},"body":"On Tue, Oct 9, 2018 at 7:33 AM Ντέντος Σταύρος <stdedos@gmail.com> wrote:\n>\n> I have install the latest git version from the PPA:\n> $ git --version\n> git version 2.19.1\n> $ lsb_release -rd\n> Description: Ubuntu 16.04.5 LTS\n> Release: 16.04\n>\n> However, trying to autocomplete git difftool --cached gives:\n> $ env -i bash --rcfile /etc/profile\n> $ . /usr/share/bash-completion/completions/git\n> $ git difftool --\n> --dir-diff          --extcmd=           --gui               --no-...\n>          --no-prompt         --symlinks          --tool-help\n> --tool=             --trust-exit-code\n>\n> Please direct me on what would require more attention.\n> /usr/share/bash-completion/completions/git is the same as the\n> git@master/contrib/completion/git-completion.bash and e.g. here:\n> https://github.com/git/git/commit/6cc4bc15f92e85b41d9da9075905f20c6a9008fe#diff-f37c4f4a898819f0ca4b5ff69e81d4d9\n>\n> It seems that --cached exists.\n\nand it seems that there are more options that are not completed,\nnot just --cached. I don't know offhand where to look further, though.\n\n>\n> (Side question: What is the \"--no-...\" option shown? I cannot seem to\n> find it anywhere in the documentation :/)\n\nAnswering the side question, see\nb221b5ab9b (completion: collapse extra --no-.. options, 2018-06-06)\nhttps://github.com/git/git/commit/b221b5ab9b92f3def37184db6e052ec87d7635b4\n"},{"id":"366649","messageId":"CAHMHMxU4ngCKYxc3CLw6QFjzWPf0AThSODKRPbFF+c8fGjEPFw@mail.gmail.com","threadId":"49515","inReplyTo":"CAGZ79kZCSen-jNE=XCzVds-gxFsnkK_nPoJw8sE00bXtTPf5+w@mail.gmail.com","subject":"Re: git difftool does not give the --cached option","fromName":"Ντέντος Σταύρος","fromEmail":"stdedos@gmail.com","sentAt":"2019-01-14T12:20:41Z","receivedAt":"2019-01-14T12:21:19Z","isPatch":false,"sender":{"key":"stdedos@gmail.com","avatar":null},"body":"FYI $ git --version\ngit version 2.20.1\n\nsolves this. I am not aware if you somehow track them / how to close\nthis thread.\n\nNtentos Stavros\n\nOn Tue, Oct 9, 2018 at 8:59 PM Stefan Beller <sbeller@google.com> wrote:\n>\n> On Tue, Oct 9, 2018 at 7:33 AM Ντέντος Σταύρος <stdedos@gmail.com> wrote:\n> >\n> > I have install the latest git version from the PPA:\n> > $ git --version\n> > git version 2.19.1\n> > $ lsb_release -rd\n> > Description: Ubuntu 16.04.5 LTS\n> > Release: 16.04\n> >\n> > However, trying to autocomplete git difftool --cached gives:\n> > $ env -i bash --rcfile /etc/profile\n> > $ . /usr/share/bash-completion/completions/git\n> > $ git difftool --\n> > --dir-diff          --extcmd=           --gui               --no-...\n> >          --no-prompt         --symlinks          --tool-help\n> > --tool=             --trust-exit-code\n> >\n> > Please direct me on what would require more attention.\n> > /usr/share/bash-completion/completions/git is the same as the\n> > git@master/contrib/completion/git-completion.bash and e.g. here:\n> > https://github.com/git/git/commit/6cc4bc15f92e85b41d9da9075905f20c6a9008fe#diff-f37c4f4a898819f0ca4b5ff69e81d4d9\n> >\n> > It seems that --cached exists.\n>\n> and it seems that there are more options that are not completed,\n> not just --cached. I don't know offhand where to look further, though.\n>\n> >\n> > (Side question: What is the \"--no-...\" option shown? I cannot seem to\n> > find it anywhere in the documentation :/)\n>\n> Answering the side question, see\n> b221b5ab9b (completion: collapse extra --no-.. options, 2018-06-06)\n> https://github.com/git/git/commit/b221b5ab9b92f3def37184db6e052ec87d7635b4\n"}]}