Hi
Yes it is
```
$ git version
git version 2.6.4
```
Upgraded to 2.23.0 and all is as expected.
Many thanks
On 25/02/2020 17:43, Johannes Altmanninger wrote:
This might be an issue with old git versions, see
https://github.com/fish-shell/fish-shell/issues/6650
On Mon, Feb 24, 2020 at 8:38 PM Johannes Altmanninger
<aclo...@gmail.com <mailto:aclo...@gmail.com>> wrote:
Hi,
This works fine for me:
For `git checkout `, fish completes only dirty (but unstaged)
files, as well as commits.
The completions are ordered such that the files come first.
On `git checkout --` fish completes only dirty unstaged files,
same on `git restore `.
With `git restore --staged` or `git reset HEAD -- ` you get
completions of staged files.
`git checkout` with staged paths doesn't do anything, so I'm not
sure what you're missing.
We should complete to something that is valid for git, otherwise
it's a bug.
On the rare occasion I need plain file completions I temporarily
insert a `: ` at the beginning of the command.
On Mon, Feb 24, 2020 at 12:43 PM Peter Flood <i...@whywouldwe.com
<mailto:i...@whywouldwe.com>> wrote:
Hi
I upgraded to fish 3.1.0 last week (from 2.x, don't recall
which) and
have just noticed that the `git checkout` completions don't
complete
filenames/paths any more. This is really frustrating to me, it
seems to
only want to complete valid git hashes/tags/branch names. I
often `git
checkout <paths>...` to remove all changes, this has broken my
workflow.
Is there any way I can get the old behaviour back?
Thanks
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
<mailto:Fish-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/fish-users
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users