* ls -files missing from git-completion-list
@ 2019-01-14 12:18 Ντέντος Σταύρος
2019-01-14 13:36 ` Duy Nguyen
0 siblings, 1 reply; 3+ messages in thread
From: Ντέντος Σταύρος @ 2019-01-14 12:18 UTC (permalink / raw)
To: git
I have install the latest git version from the PPA:
$ git --version
git version 2.20.1
$ lsb_release -rd
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Running `https://github.com/git/git/blob/master/contrib/completion/git-completion.bash#L2898`
does not give ls-files
$ git --list-cmds=list-mainporcelain,others,nohelpers,alias,list-complete,config
| grep ls
$
Ντέντος Σταύρος
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ls -files missing from git-completion-list
2019-01-14 12:18 ls -files missing from git-completion-list Ντέντος Σταύρος
@ 2019-01-14 13:36 ` Duy Nguyen
2019-01-14 13:41 ` Ντέντος Σταύρος
0 siblings, 1 reply; 3+ messages in thread
From: Duy Nguyen @ 2019-01-14 13:36 UTC (permalink / raw)
To: Ντέντος Σταύρος
Cc: Git Mailing List
On Mon, Jan 14, 2019 at 7:19 PM Ντέντος Σταύρος <stdedos@gmail.com> wrote:
>
> I have install the latest git version from the PPA:
> $ git --version
> git version 2.20.1
> $ lsb_release -rd
> Description: Ubuntu 16.04.5 LTS
> Release: 16.04
>
> Running `https://github.com/git/git/blob/master/contrib/completion/git-completion.bash#L2898`
> does not give ls-files
>
> $ git --list-cmds=list-mainporcelain,others,nohelpers,alias,list-complete,config
> | grep ls
This is expected. ls-files is a plumbing command and will not complete
by default. You can however add it back by adjusting config variable
completion.commands. See "git help config" for details.
> $
>
> Ντέντος Σταύρος
--
Duy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ls -files missing from git-completion-list
2019-01-14 13:36 ` Duy Nguyen
@ 2019-01-14 13:41 ` Ντέντος Σταύρος
0 siblings, 0 replies; 3+ messages in thread
From: Ντέντος Σταύρος @ 2019-01-14 13:41 UTC (permalink / raw)
To: Duy Nguyen; +Cc: Git Mailing List
Thank you for the resolution.
I didn't know it was a plumbing command, hence
`--list-cmds=list-mainporcelain,others,nohelpers,alias,list-complete,config`
didn't inspire me further
Apologies for the non-important topic.
Ntentos Stavros
On Mon, Jan 14, 2019 at 3:36 PM Duy Nguyen <pclouds@gmail.com> wrote:
>
> On Mon, Jan 14, 2019 at 7:19 PM Ντέντος Σταύρος <stdedos@gmail.com> wrote:
> >
> > I have install the latest git version from the PPA:
> > $ git --version
> > git version 2.20.1
> > $ lsb_release -rd
> > Description: Ubuntu 16.04.5 LTS
> > Release: 16.04
> >
> > Running `https://github.com/git/git/blob/master/contrib/completion/git-completion.bash#L2898`
> > does not give ls-files
> >
> > $ git --list-cmds=list-mainporcelain,others,nohelpers,alias,list-complete,config
> > | grep ls
>
> This is expected. ls-files is a plumbing command and will not complete
> by default. You can however add it back by adjusting config variable
> completion.commands. See "git help config" for details.
>
> > $
> >
> > Ντέντος Σταύρος
>
>
>
> --
> Duy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-14 13:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14 12:18 ls -files missing from git-completion-list Ντέντος Σταύρος
2019-01-14 13:36 ` Duy Nguyen
2019-01-14 13:41 ` Ντέντος Σταύρος
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).