From: Junio C Hamano Date: Wed, 27 Jun 2007 05:23:29 +0000 (-0700) Subject: Merge branch 'master' of git://repo.or.cz/git/fastimport X-Git-Tag: v1.5.3-rc0~50 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9cc0589ae85b782534b893faedc6a482fd9905ea?hp=e46f7a0e1c641cd80affd80516677f1e370cd72c Merge branch 'master' of git://repo.or.cz/git/fastimport * 'master' of git://repo.or.cz/git/fastimport: Teach bash how to complete +refspec on git-push --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index c7c9963347..f2b10fa5f6 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -682,6 +682,9 @@ _git_push () esac __gitcomp "$(__git_refs "$remote")" "" "${cur#*:}" ;; + +*) + __gitcomp "$(__git_refs)" + "${cur#+}" + ;; *) __gitcomp "$(__git_refs)" ;;