wfxr / forgit

:zzz: A utility tool powered by fzf for using git interactively.
MIT License
4.33k stars 136 forks source link

fix: `forgit::diff` not working if repo path contains spaces #199

Closed max-ae closed 2 years ago

max-ae commented 2 years ago

Check list

~- [ ] I have performed a self-review of my code~ ~- [ ] I have commented my code in hard-to-understand areas~ ~- [ ] I have made corresponding changes to the documentation~

Description

https://github.com/wfxr/forgit/commit/5093c185329488448aa6e631d3e751a402729a15 broke forgit::diff / gd if the path to the repo contains spaces. This fixes the issue by wrapping the repo path in quotes.

Type of change

Test environment