From 4e19bfb5ed9375efaa53b2b6459f0d05395dd501 Mon Sep 17 00:00:00 2001 From: Dmitry Gerasimov Date: Sun, 8 May 2022 01:16:57 +0300 Subject: [PATCH] Add `--no-patch` option to `git show` completion --- share/completions/git.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index 6893cfba1..e63972bc8 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -994,6 +994,7 @@ complete -f -c git -n '__fish_git_using_command show' -l expand-tabs -d 'Perform complete -f -c git -n '__fish_git_using_command show' -l no-expand-tabs -d 'Do not perform a tab expansion in the log message' complete -f -c git -n '__fish_git_using_command show' -l notes -k -a '(__fish_git_refs)' -d 'Show the notes that annotate the commit' complete -f -c git -n '__fish_git_using_command show' -l no-notes -d 'Do not show notes' +complete -f -c git -n '__fish_git_using_command show' -s s -l no-patch -d 'Suppress diff output' complete -f -c git -n '__fish_git_using_command show' -l show-signature -d 'Check the validity of a signed commit object'