Skip to content

Commit 9cc0589

Browse files
committed
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
2 parents e46f7a0 + 161fea8 commit 9cc0589

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,9 @@ _git_push ()
682682
esac
683683
__gitcomp "$(__git_refs "$remote")" "" "${cur#*:}"
684684
;;
685+
+*)
686+
__gitcomp "$(__git_refs)" + "${cur#+}"
687+
;;
685688
*)
686689
__gitcomp "$(__git_refs)"
687690
;;

0 commit comments

Comments
 (0)