This was first reported and supposedly fixed in #675, but I can't get it to work.
Git has a feature where if the user types git checkout foo and a local branch does not exist by that name, git will check whether there are remote branches by that name, and if git finds any, a new tracking branch is set up and checked out.
Fish's git autocomplete should use this feature. When I type git checkout some-featI want it to autocomplete to git checkout some-feature, instead of git checkout origin/.
This was first reported and supposedly fixed in #675, but I can't get it to work.
Git has a feature where if the user types
git checkout fooand a local branch does not exist by that name, git will check whether there are remote branches by that name, and if git finds any, a new tracking branch is set up and checked out.Fish's git autocomplete should use this feature. When I type
git checkout some-featI want it to autocomplete togit checkout some-feature, instead ofgit checkout origin/.