aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/git.fish
diff options
context:
space:
mode:
authorGravatar Trenton Broughton <trenton42@users.noreply.github.com>2015-02-19 11:10:04 -0500
committerGravatar Trenton Broughton <trenton42@users.noreply.github.com>2015-02-19 11:10:04 -0500
commitdd595dd1105b45cf0fe474d3d57fd1612653bd3d (patch)
treebebecff7060887de7c08749c6d6340101951c248 /share/completions/git.fish
parentb5d9e366ad8555544908387da5b42c438d14fb59 (diff)
Added some common completions
* Added completion for `git branch --merged` * Added completion for `git branch --no-merged`
Diffstat (limited to 'share/completions/git.fish')
-rw-r--r--share/completions/git.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish
index 62838daf..52ee206f 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'