Add completion for git-svn mkdirs,reset,and gc
Signed-off-by: Robert Zeh <robert.a.zeh@gmail.com> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Robert Zeh committed
Dec 29, 2009 at 18:58 UTC
c18d5d82b45cb6963b3229556cedd587d94afca9
1 file changed
+5
-2
contrib/completion/git-completion.bash
+5
-2
@@ -2022,7 +2022,7 @@ _git_svn ()
2022
init fetch clone rebase dcommit log find-rev
2023
set-tree commit-diff info create-ignore propget
2024
proplist show-ignore show-externals branch tag blame
2025
- migrate
2025
+ migrate mkdirs reset gc
2026
"
2027
local subcommand="$(__git_find_on_cmdline "$subcommands")"
2028
if [ -z "$subcommand" ]; then
@@ -2069,7 +2069,7 @@ _git_svn ()
2069
__gitcomp "--stdin $cmt_opts $fc_opts"
2070
;;
2071
create-ignore,--*|propget,--*|proplist,--*|show-ignore,--*|\
2072
- show-externals,--*)
2072
+ show-externals,--*|mkdirs,--*)
2073
__gitcomp "--revision="
2074
;;
2075
log,--*)
@@ -2106,6 +2106,9 @@ _git_svn ()
2106
--no-auth-cache --username=
2107
"
2108
;;
2109
+ reset,--*)
2110
+ __gitcomp "--revision= --parent"
2111
+ ;;
2112
*)
2113
COMPREPLY=()
2114
;;