aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/git.fish
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-10-20 15:49:45 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-10-20 15:49:45 +0200
commitf4b4e5b41f3995cf4ba45ef8ed5488235472f9f1 (patch)
tree542e0b13a01eba486c2ed3e4bceaea0151a7947e /share/completions/git.fish
parent4a05d56337cee44edad04fa11ad323ce794865ed (diff)
git: Complete subcommands for git submodule foreach
Diffstat (limited to 'share/completions/git.fish')
-rw-r--r--share/completions/git.fish1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish
index 7a4e2313..14a77889 100644
--- a/share/completions/git.fish
+++ b/share/completions/git.fish
@@ -522,6 +522,7 @@ complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subco
complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from status summary' -l cached -d "Use the commit stored in the index"
complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from summary' -l files -d "Compare the commit in the index with submodule HEAD"
complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from foreach update status' -l recursive -d "Traverse submodules recursively"
+complete -f -c git -n '__fish_git_using_command submodule; and __fish_seen_subcommand_from foreach' -a "(__fish_complete_subcommand --fcs-skip=3)"
## git whatchanged
complete -f -c git -n '__fish_git_needs_command' -a whatchanged -d 'Show logs with difference each commit introduces'