Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Git auto completion does not work for comparing 2 files from 2 different branches



On Thu, Sep 29, 2022 at 9:17 PM 한현빈 <ironman466@xxxxxxxxx> wrote:
>
> However, auto completion only works until this point: git diff origin/branch1:file.txt, pressing tab afterward does not bring me list of usable remotes, branches in the said remote, and files in the said branch, unlike first one in branch1, which auto completion works fine.

Confirmed this is still the case in 5.9 -- git diff completion always
assumes you're comparing a branch to the current checkout.




Messages sorted by: Reverse Date, Date, Thread, Author