completion: add options --single-branch and --branch to "git clone"
authorRalf Thielow <ralf.thielow@gmail.com>
Wed, 28 Nov 2012 18:27:02 +0000 (19:27 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Nov 2012 20:01:16 +0000 (12:01 -0800)
Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index 48c3abdf987f0843b7886372a374be19a669398d..cda095de6b73b36c389003ad8c2f78f98aef1ae7 100644 (file)
@@ -989,6 +989,8 @@ _git_clone ()
                        --upload-pack
                        --template=
                        --depth
+                       --single-branch
+                       --branch
                        "
                return
                ;;