mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 10:28:39 +08:00

Turns out "__fish_git_staged_files" does the same thing as "__fish_git_modified_files --staged". Also use "--staged" instead of "--cached", which is a more understandable synonym. Many thanks to @thomcc on gitter.