git/list[1] front-page[2] threads[3] people[4] search[5] about
 

bash completion bug: git range-diff: no --diff-merges option

From
AAndrey <butirsky@gmail.com>
Date
Mar 13, 2026, 20:36 UTC
Message-ID
<2c9651da-6c1c-471a-a239-5a60576251a6@gmail.com>

--diff-merges=, --no-diff-merges, --remerge-diff valuable options are absent for 'git range-diff' completion.

These are the options presented here:
|# Options accepted by log and show
__git_log_show_options="
         --diff-merges --diff-merges= --no-diff-merges --dd --remerge-diff
         --encoding=
"|
But they are not included for range-diff:
|_git_range_diff ()
{
         case "$cur" in
         --*)
                 __gitcomp "
                         --creation-factor= --no-dual-color
                         $__git_diff_common_options
                 "
                 return
                 ;;
         esac
         __git_complete_revlist
}|

[System Info] git version 2.53.0

Message 1 of 1 in “bash completion bug: git range-diff: no --diff-merges option”
  1. AndreyMar 13, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.