I compare 2 different files from git remote like this:
git diff origin/branch1:file.txt origin/branch2:file.txt
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.
Steps to reproduce
Attachment:
192280070-55a2f509-b33f-4f84-ad3b-8fe63fb2e401.mp4
Description: video/mp4