mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-20 14:11:14 -03:00
When git prints a path like "share/completions/git.fish", that's relative to the root of the repo. So we need to either remove everything from the $PWD (if the path is inside the $PWD), or prepend a ":/", which is git-speak for "relative to the root". This was removed by mistake in the recent switch to `git status`. Fixes #4688.