This series adds --git-completion-helper-all, which behaves similarly to --git-completion-helper but includes options which are typically hidden. An environment variable GIT_COMPLETION_SHOW_ALL is used to opt-in to this behavior. I often prototype automated tooling around git by running commands locally until I'm satisfied with the behavior, then migrating them into a script. Having bash completion for some of the more obscure options is useful. I wasn't sure how to add automated tests around this without making the tests overly brittle (e.g. depending on a verbatim list of options), so I welcome ideas and feedback. -Ryan Ryan Zoeller (2): parse-options: add --git-completion-helper-all completion: add GIT_COMPLETION_SHOW_ALL env var contrib/completion/git-completion.bash | 14 +++++++++++++- parse-options.c | 18 ++++++++++++------ 2 files changed, 25 insertions(+), 7 deletions(-) -- 2.28.0.260.g5fadab5a9c