Git development
 help / color / mirror / Atom feed
* [PATCH] Add completion for git-svn mkdirs,reset,and gc
@ 2009-12-30  0:58 Robert Zeh
  2009-12-30  0:59 ` Shawn O. Pearce
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Zeh @ 2009-12-30  0:58 UTC (permalink / raw)
  To: spearce; +Cc: git


Signed-off-by: Robert Zeh <robert.a.zeh@gmail.com>
---
contrib/completion/git-completion.bash |    7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index fbfa5f2..c65462c 100755
--- 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
-		migrate
+		migrate mkdirs reset gc
		"
	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,--*|\
-		show-externals,--*)
+		show-externals,--*|mkdirs,--*)
			__gitcomp "--revision="
			;;
		log,--*)
@@ -2106,6 +2106,9 @@ _git_svn ()
				--no-auth-cache --username=
				"
			;;
+		reset,--*)
+			__gitcomp "--revision= --parent"
+			;;
		*)
			COMPREPLY=()
			;;
-- 
1.6.6.rc3.dirty

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-30  7:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-30  0:58 [PATCH] Add completion for git-svn mkdirs,reset,and gc Robert Zeh
2009-12-30  0:59 ` Shawn O. Pearce
2009-12-30  7:43   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox