Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'master' of git://repo.or.cz/git/fastimport
author
Junio C Hamano
<gitster@pobox.com>
Wed, 27 Jun 2007 05:23:29 +0000
(22:23 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 27 Jun 2007 05:23:29 +0000
(22:23 -0700)
* 'master' of git://repo.or.cz/git/fastimport:
Teach bash how to complete +refspec on git-push
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
(from parent 1:
e46f7a0
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index c7c9963347f036323ee5680a3b2918f20cd77eb1..f2b10fa5f67942dc1c8d9d4f16048a6e7e976084 100755
(executable)
--- 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)"
;;