From 46746b4b26c5b4f88fce94ee34fa2bcf4f25aae4 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 27 Sep 2020 18:55:49 +0200 Subject: [PATCH] completions/git: offer commit ranges for range-diff A match made in heaven! --- share/completions/git.fish | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/share/completions/git.fish b/share/completions/git.fish index c9708c370..3537d810e 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1463,9 +1463,7 @@ complete -f -c git -n '__fish_git_using_command pull' -l no-autostash -d 'Do not ### range-diff complete -f -c git -n __fish_git_needs_command -a range-diff -d 'Compare two commit ranges (e.g. two versions of a branch)' -complete -f -c git -n '__fish_git_using_command range-diff' -a '(__fish_git_branches)' -complete -f -c git -n '__fish_git_using_command range-diff' -a '(__fish_git_heads)' -d Head -complete -f -c git -n '__fish_git_using_command range-diff' -a '(__fish_git_tags)' -d Tag +complete -f -c git -n '__fish_git_using_command range-diff' -ka '(__fish_git_ranges)' complete -f -c git -n '__fish_git_using_command range-diff' -l creation-factor -d 'Percentage by which creation is weighted' complete -f -c git -n '__fish_git_using_command range-diff' -l no-dual-color -d 'Use simple diff colors'