From: Britton Kerin Date: Tue, 13 Feb 2024 00:52:53 GMT Subject: Re: [PATCH v2 1/1] completion: dir-type optargs for am, format-patch Message-ID: In-Reply-To: <40c3a824-a961-490b-94d4-4eb23c8f713d@gmail.com> On Sat, Feb 3, 2024 at 6:13 AM Rubén Justo wrote: > > 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 [