# ls -files missing from git-completion-list

3 messages from 2019-01-14 to 2019-01-14. Participants: Ντέντος Σταύρος, Duy Nguyen.
Thread: https://gitlist.dev/t/50219

## Ντέντος Σταύρος, 2019-01-14 12:18

Subject: ls -files missing from git-completion-list
Message-ID: <CAHMHMxXyB=1KW6Hx7cs11Ltf3X_wuaQNfaYPmcnr946y4phXsA@mail.gmail.com>
URL: https://gitlist.dev/e/CAHMHMxXyB%3D1KW6Hx7cs11Ltf3X_wuaQNfaYPmcnr946y4phXsA%40mail.gmail.com

```
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
$

Ντέντος Σταύρος

```

## Duy Nguyen, 2019-01-14 13:36

Subject: Re: ls -files missing from git-completion-list
Message-ID: <CACsJy8Ac_Z1jyBhH1vvYnS_d6tTv5u1j+gjpiGDFE8np-bJ3sQ@mail.gmail.com>
URL: https://gitlist.dev/e/CACsJy8Ac_Z1jyBhH1vvYnS_d6tTv5u1j%2BgjpiGDFE8np-bJ3sQ%40mail.gmail.com
In-Reply-To: <CAHMHMxXyB=1KW6Hx7cs11Ltf3X_wuaQNfaYPmcnr946y4phXsA@mail.gmail.com>

```
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

```

## Ντέντος Σταύρος, 2019-01-14 13:41

Subject: Re: ls -files missing from git-completion-list
Message-ID: <CAHMHMxX3peBpMAn5uHkK+DsBvM10mzb8zdKE6ko6XSRTp4Gggg@mail.gmail.com>
URL: https://gitlist.dev/e/CAHMHMxX3peBpMAn5uHkK%2BDsBvM10mzb8zdKE6ko6XSRTp4Gggg%40mail.gmail.com
In-Reply-To: <CACsJy8Ac_Z1jyBhH1vvYnS_d6tTv5u1j+gjpiGDFE8np-bJ3sQ@mail.gmail.com>

```
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

```
