提交 c18d5d82 编写于 作者: R Robert Zeh 提交者: Junio C Hamano

Add completion for git-svn mkdirs,reset,and gc

Signed-off-by: NRobert Zeh <robert.a.zeh@gmail.com>
Acked-by: NShawn O. Pearce <spearce@spearce.org>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 9e7ad090
...@@ -2022,7 +2022,7 @@ _git_svn () ...@@ -2022,7 +2022,7 @@ _git_svn ()
init fetch clone rebase dcommit log find-rev init fetch clone rebase dcommit log find-rev
set-tree commit-diff info create-ignore propget set-tree commit-diff info create-ignore propget
proplist show-ignore show-externals branch tag blame proplist show-ignore show-externals branch tag blame
migrate migrate mkdirs reset gc
" "
local subcommand="$(__git_find_on_cmdline "$subcommands")" local subcommand="$(__git_find_on_cmdline "$subcommands")"
if [ -z "$subcommand" ]; then if [ -z "$subcommand" ]; then
...@@ -2069,7 +2069,7 @@ _git_svn () ...@@ -2069,7 +2069,7 @@ _git_svn ()
__gitcomp "--stdin $cmt_opts $fc_opts" __gitcomp "--stdin $cmt_opts $fc_opts"
;; ;;
create-ignore,--*|propget,--*|proplist,--*|show-ignore,--*|\ create-ignore,--*|propget,--*|proplist,--*|show-ignore,--*|\
show-externals,--*) show-externals,--*|mkdirs,--*)
__gitcomp "--revision=" __gitcomp "--revision="
;; ;;
log,--*) log,--*)
...@@ -2106,6 +2106,9 @@ _git_svn () ...@@ -2106,6 +2106,9 @@ _git_svn ()
--no-auth-cache --username= --no-auth-cache --username=
" "
;; ;;
reset,--*)
__gitcomp "--revision= --parent"
;;
*) *)
COMPREPLY=() COMPREPLY=()
;; ;;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册