Browse Source

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
maint
Junio C Hamano 18 years ago
parent
commit
9cc0589ae8
  1. 3
      contrib/completion/git-completion.bash

3
contrib/completion/git-completion.bash

@ -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)"
;; ;;

Loading…
Cancel
Save