diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-06-26 22:23:29 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-26 22:23:29 -0700 |
commit | 9cc0589ae85b782534b893faedc6a482fd9905ea (patch) | |
tree | ab94ba4f80f24ec0d7719bc04f6aed921bce4846 /contrib/completion/git-completion.bash | |
parent | e46f7a0e1c641cd80affd80516677f1e370cd72c (diff) | |
parent | 161fea832a8e8ea7d6cdc1bdc388f19825641a53 (diff) | |
download | git-9cc0589ae85b782534b893faedc6a482fd9905ea.tar.gz git-9cc0589ae85b782534b893faedc6a482fd9905ea.tar.xz |
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
Diffstat (limited to 'contrib/completion/git-completion.bash')
-rwxr-xr-x | contrib/completion/git-completion.bash | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index c7c996334..f2b10fa5f 100755 --- 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)" ;; |