]> git.ipfire.org Git - thirdparty/git.git/commitdiff
completion: complete --encoding
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Sun, 21 Jan 2024 04:07:50 +0000 (04:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jan 2024 16:09:53 +0000 (08:09 -0800)
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>
contrib/completion/git-completion.bash

index ccb17f4ad7b8fe01cad38621d5144a6765dd1947..a7ae2cbe55b588a1492c99eda8207f38fb925631 100644 (file)
@@ -2096,6 +2096,7 @@ __git_log_shortlog_options="
 # Options accepted by log and show
 __git_log_show_options="
        --diff-merges --diff-merges= --no-diff-merges --dd --remerge-diff
+       --encoding=
 "
 
 __git_diff_merges_opts="off none on first-parent 1 separate m combined c dense-combined cc remerge r"