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 | |
parent | git-send-email: Add --threaded option (diff) | |
parent | Teach bash how to complete +refspec on git-push (diff) | |
download | tgif-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')
-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 c7c9963347..f2b10fa5f6 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)" ;; |