You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
complete-c git -n'__fish_git_using_command bulk'-s a -d'Run a git command on all workspaces and their repositories'
87
-
complete-c git -n'__fish_git_using_command bulk'-s g -d'Ask the user for confirmation on every execution'
86
+
complete-c git -n'__fish_git_using_command bulk'-s a -d'Run a git command on all workspaces and their repositories'
87
+
complete-c git -n'__fish_git_using_command bulk'-s g -d'Ask the user for confirmation on every execution'
88
88
complete-c git -x-n'__fish_git_using_command bulk'-s w -d'Run on specified workspace'
89
89
complete-c git -x-n'__fish_git_using_command bulk'-l addworkspace -d'Register a workspace for builk operations'
90
90
complete-c git -x-n'__fish_git_using_command bulk; and contains addworkspace (commandline -opc)'-l addworkspace -d'the URL or file with URLs to be added'
complete-c git -f-n'__fish_git_using_command changelog'-s m -l merges-only -d'Uses only merge commits (commits with more than 1 parent) for generated changelog'
104
104
complete-c git -f-n'__fish_git_using_command changelog'-s p -l prune-old -d'Replace existing changelog entirely with newly generated content'
105
105
complete-c git -f-n'__fish_git_using_command changelog'-s x -l stdout -d'Write output to stdout instead of to a new changelog file'
106
+
# coauthor
107
+
function __fish_git_arg_number -a number
108
+
set-l cmd (commandline-opc)
109
+
test (count$cmd) -eq$number
110
+
end
111
+
function __fish_git_extra_coauthor_name
112
+
for line in (git authors --list)
113
+
printf'%s\n'$line| string replace --regex' <.*'''
114
+
end
115
+
end
116
+
function __fish_git_extra_coauthor_email
117
+
set-l cmd (commandline-opc)
118
+
# name provided in the previous positional argument
complete-c git -f-n'__fish_git_using_command effort'-l above -d'ignore file with less than x commits'
120
145
# feature
121
146
complete-c git -x-n'__fish_git_using_command feature'-s a -lalias-d'use branch_prefix instead of feature'
122
-
complete-c git -f-n'__fish_git_using_command feature; and not contains -- finish (commandline -opc)'-a"finish"-d'merge and delete the feature branch'
147
+
complete-c git -f-n'__fish_git_using_command feature; and not contains -- finish (commandline -opc)'-a finish -d'merge and delete the feature branch'
123
148
complete-c git -f-n'__fish_git_using_command feature; and contains -- finish (commandline -opc)'-l squash -d'Run a squash merge'
124
149
complete-c git -x-n'__fish_git_using_command feature; and contains -- finish (commandline -opc)'-a'(__fish_git for-each-ref --format="%(refname)" 2>/dev/null | grep "refs/heads/feature")'-d'name of feature branch'
125
150
complete-c git -x-n'__fish_git_using_command feature; and not contains -- finish (commandline -opc)'-s r -l remote -a'(__fish_git_unique_remote_branches)'-d'Setup a remote tracking branch'
126
151
# graft
127
-
complete-c git -x-n'__fish_git_using_command graft'-s r -l remote -a'(__fish_git_branches)'-d'src-branch-name'
128
-
complete-c git -x-n'__fish_git_using_command graft'-s r -l remote -a'(__fish_git_branches)'-d'dest-branch-name'
152
+
complete-c git -x-n'__fish_git_using_command graft'-s r -l remote -a'(__fish_git_branches)'-d src-branch-name
153
+
complete-c git -x-n'__fish_git_using_command graft'-s r -l remote -a'(__fish_git_branches)'-d dest-branch-name
129
154
# guilt
130
155
complete-c git -f-n'__fish_git_using_command guilt'-s w -l ignore-whitespace -d'ignore whitespace only changes'
131
156
complete-c git -f-n'__fish_git_using_command guilt'-s e -l email -d'display author emails instead of names'
132
157
complete-c git -f-n'__fish_git_using_command guilt'-s d -l debug -d'output debug information'
133
-
complete-c git -f-n'__fish_git_using_command guilt'-s h -d'output usage information'
158
+
complete-c git -f-n'__fish_git_using_command guilt'-s h -d'output usage information'
134
159
# ignore
135
160
complete-c git -f-n'__fish_git_using_command ignore'-s l -l local -d'show local gitignore'
136
161
complete-c git -f-n'__fish_git_using_command ignore'-s g -l global -d'show global gitignore'
0 commit comments