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

Re: [PATCH] completion: add completer for status

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Jun 30, 2013, 11:00 UTC
Message-ID
<20130630110036.GA2294@goldbirke>
In-Reply-To
<CALkWK0=RZbZxSzCFNAPqzcpnnC_Tak+isESmFiEyLMgcu3vV1Q@mail.gmail.com>
On Fri, Jun 28, 2013 at 07:33:21PM +0530, Ramkumar Ramachandra wrote:
Show 7 quoted lines
> Ramkumar Ramachandra wrote:
> >> +       __git_complete_index_file "--with-tree=HEAD --cached --deleted"
> >
> > Might as well go all the way with  "--cached --deleted --unmerged
> > --others" no?  What is the point of --with-tree=HEAD?
> 
> Ugh, --deleted doesn't work as advertised (terrible documentation).

Why not? In my experiments it worked well, as you can see in my previous emails. What behavior did you observe which differs from the advertised?

> The minimally correct combination we need seems to be
> "--with-tree=HEAD --cached --others".

Yeah, once we use '--with-tree=HEAD' we don't need '--deleted' anymore.

Gábor
Previous: Ramkumar RamachandraNext: SZEDER Gábor
Message 8 of 9 in “completion: add completer for status”
  1. completion: add completer for statusRamkumar Ramachandra, Jun 24, 2013
  2. Ramkumar RamachandraJun 24, 2013
  3. SZEDER GáborJun 28, 2013
  4. SZEDER GáborJun 28, 2013
  5. SZEDER GáborJun 28, 2013
  6. Ramkumar RamachandraJun 28, 2013
  7. Ramkumar RamachandraJun 28, 2013
  8. SZEDER GáborJun 30, 2013
  9. SZEDER GáborJun 28, 2013

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.