1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-05 11:01:13 +02:00

29916: Completion/Unix/Command/_git: Prevent clash with _remote_files() in _ssh.

This commit is contained in:
Simon Ruderich 2011-11-24 21:21:46 +00:00
parent d47847c5f5
commit 6540e8d8cf
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2011-11-24 Simon Ruderich <simon@ruderich.org>
* 29916: Completion/Unix/Command/_git: Prevent clash with
_remote_files() in _ssh.
2011-11-24 Peter Stephenson <pws@csr.com>
* 29915: Completion/Unix/Command/.distfiles,
@ -15609,5 +15614,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5505 $
* $Revision: 1.5506 $
*****************************************************

View file

@ -5445,7 +5445,7 @@ __git_tree_files () {
# Repository Argument Types
# _remote_files
_remote_files () {
_remote_files_git () {
# FIXME: these should be imported from _ssh
# TODO: this should take -/ to only get directories
# There should be coloring based on all the different ls -F classifiers.
@ -5484,7 +5484,7 @@ __git_remote_repositories () {
service= _ssh
if compset -P '*:'; then
_remote_files
_remote_files_git
else
_ssh_hosts -S:
fi