SZEDER Gábor <szeder.dev@xxxxxxxxx> writes: > That works fine, but this would work just as well and has one less > case arm: OK, I missed that "obvious optimization" opportunity. I agree that would work. > > diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash > index ab80f4e6e8..038af63c1a 100644 > --- a/contrib/completion/git-completion.bash > +++ b/contrib/completion/git-completion.bash > @@ -1839,6 +1839,8 @@ _git_notes () > *,--*) > __gitcomp_builtin notes_$subcommand > ;; > + prune,*) > + ;; > *) > case "$prev" in > -m|-F)