completion: add missing completions for log, diff, show
commitd49dffde9a3964dce2412ea912b712df212e7046
authorMax Rothman <max.r.rothman@gmail.com>
Tue, 2 Jul 2019 01:56:26 +0000 (2 01:56 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Sep 2019 19:47:52 +0000 (12 12:47 -0700)
tree6a1f21f31a5e4e2ee3388c210b91e0b87800fefe
parentf1d4a28250629ae469fc5dd59ab843cb2fd68e12
completion: add missing completions for log, diff, show

The bash completion script knows some options to "git log" and
"git show" only in the positive form, (e.g. "--abbrev-commit"), but not
in their negative form (e.g. "--no-abbrev-commit"). Add them.

Also, the bash completion script is missing some other options to
"git diff", and "git show" (and thus, all other commands that take
"git diff"'s options). Add them. Of note, since "--indent-heuristic" is
no longer experimental, add that too.

Signed-off-by: Max Rothman <max.r.rothman@gmail.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash