From: Britton Leo Kerin Date: Tue, 09 Jan 2024 00:53:03 GMT Subject: [PATCH v2 1/1] completion: dir-type optargs for am, format-patch Message-ID: In-Reply-To: <20240109005303.444932-1-britton.kerin@gmail.com> 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 [