fish-shell / fish-shell/fish-shell
Git path completion has extra ambiguity
Open
- Dominant language
- Rust
- Stars
- 34.2k
- Forks
- 2.4k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 13
Description
```fish
git init foo
cd foo/
mkdir bar/
touch bar/a
git add .
```
Then compare the behaviour of `ls ` and `git log -- `. The former completes `bar/` unambiguously, but the latter prompts you to choose from `bar/` and `bar/a`. If you are used to path completions in fish outside of Git, then this behaviour is a bit surprising.
---
fish 4.7.1
Contributor guide
Assessment
This issue has not been assessed yet.