mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-12 05:15:24 +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.