Skip to content

Commit

Permalink
Add completion for git-svn mkdirs,reset,and gc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert Zeh authored and Junio C Hamano committed Dec 30, 2009
1 parent 9e7ad09 commit c18d5d8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2022,7 +2022,7 @@ _git_svn ()
init fetch clone rebase dcommit log find-rev
set-tree commit-diff info create-ignore propget
proplist show-ignore show-externals branch tag blame
migrate
migrate mkdirs reset gc
"
local subcommand="$(__git_find_on_cmdline "$subcommands")"
if [ -z "$subcommand" ]; then
Expand Down Expand Up @@ -2069,7 +2069,7 @@ _git_svn ()
__gitcomp "--stdin $cmt_opts $fc_opts"
;;
create-ignore,--*|propget,--*|proplist,--*|show-ignore,--*|\
show-externals,--*)
show-externals,--*|mkdirs,--*)
__gitcomp "--revision="
;;
log,--*)
Expand Down Expand Up @@ -2106,6 +2106,9 @@ _git_svn ()
--no-auth-cache --username=
"
;;
reset,--*)
__gitcomp "--revision= --parent"
;;
*)
COMPREPLY=()
;;
Expand Down

0 comments on commit c18d5d8

Please sign in to comment.