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

Re: git diff autocomplete

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Aug 26, 2019, 17:09 UTC
Message-ID
<87mufvzwen.fsf@igel.home>
In-Reply-To
<CADSGPzVgweL4tCEqg3LvfXbp=HZyQ7BngKpVrFp0_0SFJZVezQ@mail.gmail.com>
On Aug 26 2019, Dhaval Patel <drdhaval2785@gmail.com> wrote:
Show 12 quoted lines
> If it is only about files and revisions both being handled by git
> diff, would it not ne possible to do something like this?
>
> For files
>
> git diff -f a[PRESS TAB]
>
> For revisions
>
> git diff -r a[PRESS TAB]
>
> Some sort of flag which says we are handling files or revisions.
That already exists, it is spelt `--'.
Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Previous: Dhaval Patel
Message 4 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.