wfxr / forgit

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

Make glcean parameters consistent with other functions #317

Closed sandr01d closed 12 months ago

sandr01d commented 1 year ago

Check list

Description

Most functions try to pass parameters directly to git and exit early when successfull. _forgit_clean is an exception to this, as it currently only uses the arguments to determine the target files. Our completions use _git-clean, which completes untracked files, but gclean -f FILE currently opens the file picker. I've added a line to allow an early out for _forgit_clean.

Type of change

Test environment