wfxr / forgit

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

Able to drop into `gsp` with no changes in the directory #369

Closed cjappl closed 2 months ago

cjappl commented 3 months ago

Environment info

Problem / Steps to reproduce

1. Have clean directory, no changes no added files
2. gsp

Expected: Nothing happens, gsp exits early, just like if you ga with "Nothing to add"

Observed: Fzf pops up but the list is empty, user can do nothing.