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

git diff autocomplete

From
DPDhaval Patel <drdhaval2785@gmail.com>
Date
Aug 18, 2019, 02:44 UTC
Message-ID
<CADSGPzV+dfNR=epmz2whKkrpiH=JMUR4gVjpZ+x+kzKrX0kD-A@mail.gmail.com>
How to reproduce

git init touch abc.txt touch abd.txt git add a* git commit -m 'first commit' echo 'hello' > abc.txt git add a[PRESS TAB] (This will autocomplete 'git add abc.txt') git diff a[PRESS TAB] (This will not give 'git diff abc.txt')

Suggested feature -
when I press tab, git diff should autocomplete just like git add.
Next: Santiago Torres Arias
Message 1 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.