[ ] I have commented my code in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
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.
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, butgclean -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