completion: complete --encoding

The option --encoding is supported by 'git log' and 'git show', so add it to __git_log_show_options. Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Philippe Blain committed Jan 21, 2024 at 04:07 UTC 6d1bfcdd2a14ac8e04fa269bbadbb3688e52a3a6
1 file changed +1
contrib/completion/git-completion.bash
+1
@@ -2096,6 +2096,7 @@ __git_log_shortlog_options="
2096 # Options accepted by log and show
2097 __git_log_show_options="
2098 --diff-merges --diff-merges= --no-diff-merges --dd --remerge-diff
2099 + --encoding=
2100 "
2101
2102 __git_diff_merges_opts="off none on first-parent 1 separate m combined c dense-combined cc remerge r"