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

Re: git diff autocomplete

From
Santiago Torres Arias <santiago@nyu.edu>
Date
Aug 18, 2019, 02:47 UTC
Message-ID
<20190818024757.765fx3tdfekseim5@LykOS.localdomain>
In-Reply-To
<CADSGPzV+dfNR=epmz2whKkrpiH=JMUR4gVjpZ+x+kzKrX0kD-A@mail.gmail.com>
On Sun, Aug 18, 2019 at 08:14:15AM +0530, Dhaval Patel wrote:
Show 6 quoted lines
> How to reproduce
> 
> [snip]
> Suggested feature -
> 
> when I press tab, git diff should autocomplete just like git add.

I think this is somewhat harder of a usecase, as git add generally takes paths and diff can compare revisions *and* paths. I see that if I do

    git diff -- [TAB]

I get all the paths as an autocomplete option, which I think is desired behavior.

Thanks, -Santiago.

Previous: Dhaval PatelNext: Dhaval Patel
Message 2 of 4 in “git diff autocomplete”
  1. Dhaval PatelAug 18, 2019
  2. Santiago Torres AriasAug 18, 2019
  3. Dhaval PatelAug 26, 2019
  4. Andreas SchwabAug 26, 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.