Skip to content

Commit c18d5d8

Browse files
razehgitster
authored andcommitted
Add completion for git-svn mkdirs,reset,and gc
Signed-off-by: Robert Zeh <[email protected]> Acked-by: Shawn O. Pearce <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9e7ad09 commit c18d5d8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

contrib/completion/git-completion.bash

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2022,7 +2022,7 @@ _git_svn ()
20222022
init fetch clone rebase dcommit log find-rev
20232023
set-tree commit-diff info create-ignore propget
20242024
proplist show-ignore show-externals branch tag blame
2025-
migrate
2025+
migrate mkdirs reset gc
20262026
"
20272027
local subcommand="$(__git_find_on_cmdline "$subcommands")"
20282028
if [ -z "$subcommand" ]; then
@@ -2069,7 +2069,7 @@ _git_svn ()
20692069
__gitcomp "--stdin $cmt_opts $fc_opts"
20702070
;;
20712071
create-ignore,--*|propget,--*|proplist,--*|show-ignore,--*|\
2072-
show-externals,--*)
2072+
show-externals,--*|mkdirs,--*)
20732073
__gitcomp "--revision="
20742074
;;
20752075
log,--*)
@@ -2106,6 +2106,9 @@ _git_svn ()
21062106
--no-auth-cache --username=
21072107
"
21082108
;;
2109+
reset,--*)
2110+
__gitcomp "--revision= --parent"
2111+
;;
21092112
*)
21102113
COMPREPLY=()
21112114
;;

0 commit comments

Comments
 (0)