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
This commit is contained in:
Junio C Hamano 2007-06-26 22:23:29 -07:00
commit 9cc0589ae8

View File

@ -682,6 +682,9 @@ _git_push ()
esac esac
__gitcomp "$(__git_refs "$remote")" "" "${cur#*:}" __gitcomp "$(__git_refs "$remote")" "" "${cur#*:}"
;; ;;
+*)
__gitcomp "$(__git_refs)" + "${cur#+}"
;;
*) *)
__gitcomp "$(__git_refs)" __gitcomp "$(__git_refs)"
;; ;;