Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Add completion for git-svn mkdirs,reset,and gc
author
Robert Zeh
<robert.a.zeh@gmail.com>
Wed, 30 Dec 2009 00:58:48 +0000
(18:58 -0600)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 30 Dec 2009 09:25:27 +0000
(
01:25
-0800)
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>
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
9e7ad09
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index fbfa5f25c1b2c75943464757d571d3fa89e209aa..c65462c9ed113e3dffcd50d1fe405bb68385b98a 100755
(executable)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-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
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
"
local subcommand="$(__git_find_on_cmdline "$subcommands")"
if [ -z "$subcommand" ]; then
@@
-2069,7
+2069,7
@@
_git_svn ()
__gitcomp "--stdin $cmt_opts $fc_opts"
;;
create-ignore,--*|propget,--*|proplist,--*|show-ignore,--*|\
__gitcomp "--stdin $cmt_opts $fc_opts"
;;
create-ignore,--*|propget,--*|proplist,--*|show-ignore,--*|\
- show-externals,--*)
+ show-externals,--*
|mkdirs,--*
)
__gitcomp "--revision="
;;
log,--*)
__gitcomp "--revision="
;;
log,--*)
@@
-2106,6
+2106,9
@@
_git_svn ()
--no-auth-cache --username=
"
;;
--no-auth-cache --username=
"
;;
+ reset,--*)
+ __gitcomp "--revision= --parent"
+ ;;
*)
COMPREPLY=()
;;
*)
COMPREPLY=()
;;