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.