git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: ls -files missing from git-completion-list

From
ΝΣΝτέντος Σταύρος <stdedos@gmail.com>
Date
Jan 14, 2019, 13:41 UTC
Message-ID
<CAHMHMxX3peBpMAn5uHkK+DsBvM10mzb8zdKE6ko6XSRTp4Gggg@mail.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:
Show 28 quoted lines
>
> 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
Previous: Duy Nguyen
Message 3 of 3 in “ls -files missing from git-completion-list”
  1. Ντέντος ΣταύροςJan 14, 2019
  2. Duy NguyenJan 14, 2019
  3. Ντέντος ΣταύροςJan 14, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.