From b3de630d40c5c2e54e8d26a9c1552411fee13563 Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Sat, 21 May 2022 19:10:19 +0300 Subject: [PATCH] Add signoff options to `git commit` completions Fixes https://github.com/fish-shell/fish-shell/issues/8965. --- share/completions/git.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index f2fec13a3..8606c5df2 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1223,6 +1223,8 @@ complete -f -c git -n '__fish_git_using_command commit' -s n -l no-verify -d 'Do complete -f -c git -n '__fish_git_using_command commit; and __fish_git_contains_opt fixup squash' -k -a '(__fish_git_recent_commits)' complete -f -c git -n '__fish_git_using_command commit' -l allow-empty -d 'Create a commit with no changes' complete -f -c git -n '__fish_git_using_command commit' -l allow-empty-message -d 'Create a commit with no commit message' +complete -f -c git -n '__fish_git_using_command commit' -s s -l signoff -d 'Append Signed-off-by trailer to commit message' +complete -f -c git -n '__fish_git_using_command commit' -l no-signoff -d 'Do not append Signed-off-by trailer to commit message' # TODO options ### count-objects