summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Ralf Thielow <ralf.thielow@gmail.com>2012-11-28 19:27:02 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-11-28 12:01:16 -0800
commit4047fecf714e8ffdc4ae199f9cd3ee2d50b0259c (patch)
treee5544d7a2c1dc4ab3461617614b05217f5789545
parentMerge branch 'nd/maint-compat-fnmatch-fix' into maint (diff)
downloadtgif-4047fecf714e8ffdc4ae199f9cd3ee2d50b0259c.tar.xz
completion: add options --single-branch and --branch to "git clone"
Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 48c3abdf98..cda095de6b 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
;;