threads / patch / 32229

patchcompletion: add options --single-branch and --branch to "git clone"

Subject: [PATCH] completion: add options --single-branch and --branch to "git clone"

## tl;dr

2 messages between Nov 28, 2012 and Nov 28, 2012. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Ralf Thielow· Nov 28, 2012, 18:27 UTC · lore
Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
---
 contrib/completion/git-completion.bash | 2 ++
 1 file changed, 2 insertions(+)
Show changes to contrib/completion/git-completion.bash +2 −0
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 48c3abd..cda095d 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -989,6 +989,8 @@ _git_clone ()
 			--upload-pack
 			--template=
 			--depth
+			--single-branch
+			--branch
 			"
 		return
 		;;
-- 
1.8.0
Junio C Hamano· Nov 28, 2012, 18:57 UTC · re: Ralf Thielow · lore

Re: [PATCH] completion: add options --single-branch and --branch to "git clone"

Ralf Thielow <ralf.thielow@gmail.com> writes:
Show 16 quoted lines
> Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
> ---
>  contrib/completion/git-completion.bash | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
> index 48c3abd..cda095d 100644
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -989,6 +989,8 @@ _git_clone ()
>  			--upload-pack
>  			--template=
>  			--depth
> +			--single-branch
> +			--branch
>  			"
Hmph.... OK, will queue.

← back to recent threads