Skip to content

Commit

Permalink
Merge branch 'master' of git://repo.or.cz/git/fastimport
Browse files Browse the repository at this point in the history
* 'master' of git://repo.or.cz/git/fastimport:
  Teach bash how to complete +refspec on git-push
  • Loading branch information
gitster committed Jun 27, 2007
2 parents e46f7a0 + 161fea8 commit 9cc0589
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,9 @@ _git_push ()
esac
__gitcomp "$(__git_refs "$remote")" "" "${cur#*:}"
;;
+*)
__gitcomp "$(__git_refs)" + "${cur#+}"
;;
*)
__gitcomp "$(__git_refs)"
;;
Expand Down

0 comments on commit 9cc0589

Please sign in to comment.