Along the way I taught __git_find_last_on_cmdline to understand '--', which isn't stricly necessary but I think reads more clearly at the call sites. __git_find_on_cmdline could be changed to work the same, or this part dropped if people don't like it. Britton Leo Kerin (1): completion: don't comp revs when --no-format-patch contrib/completion/git-completion.bash | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) base-commit: e79552d19784ee7f4bbce278fe25f93fbda196fa -- 2.43.0