Merge branch 'master' of git://repo.or.cz/git/fastimport
authorJunio C Hamano <gitster@pobox.com>
Wed, 27 Jun 2007 05:23:29 +0000 (22:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Jun 2007 05:23:29 +0000 (22:23 -0700)
* 'master' of git://repo.or.cz/git/fastimport:
Teach bash how to complete +refspec on git-push

contrib/completion/git-completion.bash
index c7c9963347f036323ee5680a3b2918f20cd77eb1..f2b10fa5f67942dc1c8d9d4f16048a6e7e976084 100755 (executable)
@@ -682,6 +682,9 @@ _git_push ()
                        esac
                        __gitcomp "$(__git_refs "$remote")" "" "${cur#*:}"
                        ;;
+               +*)
+                       __gitcomp "$(__git_refs)" + "${cur#+}"
+                       ;;
                *)
                        __gitcomp "$(__git_refs)"
                        ;;