From dd595dd1105b45cf0fe474d3d57fd1612653bd3d Mon Sep 17 00:00:00 2001 From: Trenton Broughton Date: Thu, 19 Feb 2015 11:10:04 -0500 Subject: [PATCH] Added some common completions * Added completion for `git branch --merged` * Added completion for `git branch --no-merged` --- share/completions/git.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index 62838dafe..52ee206fa 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -203,6 +203,8 @@ complete -f -c git -n '__fish_git_using_command branch' -s a -d 'Lists both loca complete -f -c git -n '__fish_git_using_command branch' -s t -l track -d 'Track remote branch' complete -f -c git -n '__fish_git_using_command branch' -l no-track -d 'Do not track remote branch' complete -f -c git -n '__fish_git_using_command branch' -l set-upstream -d 'Set remote branch to track' +complete -f -c git -n '__fish_git_using_command branch' -l merged -d 'List branches that have been merged' +complete -f -c git -n '__fish_git_using_command branch' -l no-merged -d 'List branches that have not been merged' ### cherry-pick complete -f -c git -n '__fish_git_needs_command' -a cherry-pick -d 'Apply the change introduced by an existing commit'