# [PATCH] Add completion for git-svn mkdirs,reset,and gc

3 messages from 2009-12-30 to 2009-12-30. Participants: Robert Zeh, Shawn O. Pearce, Junio C Hamano.
Thread: https://gitlist.dev/t/22058

## Robert Zeh, 2009-12-30 00:58

Subject: [PATCH] Add completion for git-svn mkdirs,reset,and gc
Message-ID: <C065517F-C829-46D1-8D1A-88C18EE2112F@gmail.com>
URL: https://gitlist.dev/e/C065517F-C829-46D1-8D1A-88C18EE2112F%40gmail.com

```

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

```

## Shawn O. Pearce, 2009-12-30 00:59

Subject: Re: [PATCH] Add completion for git-svn mkdirs,reset,and gc
Message-ID: <20091230005950.GC6914@spearce.org>
URL: https://gitlist.dev/e/20091230005950.GC6914%40spearce.org
In-Reply-To: <C065517F-C829-46D1-8D1A-88C18EE2112F@gmail.com>

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

Acked-by: Shawn O. Pearce <spearce@spearce.org>
 
-- 
Shawn.

```

## Junio C Hamano, 2009-12-30 07:43

Subject: Re: [PATCH] Add completion for git-svn mkdirs,reset,and gc
Message-ID: <7v7hs46h5j.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7v7hs46h5j.fsf%40alter.siamese.dyndns.org
In-Reply-To: <20091230005950.GC6914@spearce.org>

```
"Shawn O. Pearce" <spearce@spearce.org> writes:

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

Thanks.

Robert, if you are planning to be a regular contributor, please check your
MUA settings, and next time, please first send a patch to yourself and try
running "git am" on it to make sure it applies.  Your patch was seriously
whitespace damaged (all the leading SP on the context lines were
stripped).

```
