summaryrefslogtreecommitdiff
path: root/contrib/completion/git-completion.bash
diff options
context:
space:
mode:
authorRalf Thielow <ralf.thielow@gmail.com>2012-11-28 18:27:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-11-28 20:01:16 (GMT)
commit4047fecf714e8ffdc4ae199f9cd3ee2d50b0259c (patch)
treee5544d7a2c1dc4ab3461617614b05217f5789545 /contrib/completion/git-completion.bash
parent86ef7b37f921dccff6d940fb17005e0906a2bf3e (diff)
downloadgit-4047fecf714e8ffdc4ae199f9cd3ee2d50b0259c.zip
git-4047fecf714e8ffdc4ae199f9cd3ee2d50b0259c.tar.gz
git-4047fecf714e8ffdc4ae199f9cd3ee2d50b0259c.tar.bz2
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>
Diffstat (limited to 'contrib/completion/git-completion.bash')
-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 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
;;