Feature Request: Allow `-` as a Shortcut for `@{-1}` in `git diff`
- From
- tao lv <thebookofunknowable@gmail.com>
- Date
- Jan 14, 2025, 11:01 UTC
- Message-ID
- <CAFePT4w4hHZnS0TXGA6-_sA-Vp4f3H_sY2Ue1XreFM3SEM8i2g@mail.gmail.com>
Hi,
I would like to request a feature for `git diff`: to allow the use of `-` as a shortcut for `@{-1}`. Currently, `git merge` and `git checkout` both support using `-` as a shortcut for `@{-1}`, and I hope this functionality can be extended to `git diff` as well.
Thank you for considering this request.
Best regards