mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-24 06:57:41 +08:00

Stash is a shell script that does not support `--git-dir`, not even on latest versions. We need to use `git -C` which was only added on recent versions of `git`. `omf update` will fail in case omf need needs to run `git stash` and git is not compatible.