From: Rubén Justo Date: Sat, 03 Feb 2024 15:13:36 GMT Subject: Re: [PATCH v2 1/1] completion: dir-type optargs for am, format-patch Message-ID: <40c3a824-a961-490b-94d4-4eb23c8f713d@gmail.com> In-Reply-To: On 08-ene-2024 15:53:03, Britton Leo Kerin wrote: > Signed-off-by: Britton Leo Kerin > --- > contrib/completion/git-completion.bash | 37 ++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > > diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash > index 185b47d802..2b2b6c9738 100644 > --- a/contrib/completion/git-completion.bash > +++ b/contrib/completion/git-completion.bash > @@ -1356,6 +1356,29 @@ __git_count_arguments () > printf "%d" $c > } > > +# Complete actual dir (not pathspec), respecting any -C options. > +# > +# Usage: __git_complete_refs [