summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorSimon Ruderich <rudi_s@users.sourceforge.net>2011-11-24 21:21:46 +0000
committerSimon Ruderich <rudi_s@users.sourceforge.net>2011-11-24 21:21:46 +0000
commit6540e8d8cffba3e29c0adbdd28240d23eaa09390 (patch)
tree76d72865daab7c9e5737546304d8cc13f1d01be0 /Completion/Unix/Command
parentd47847c5f5c89f2ce4cfe53857086ce0f0037c8f (diff)
downloadzsh-6540e8d8cffba3e29c0adbdd28240d23eaa09390.tar.gz
zsh-6540e8d8cffba3e29c0adbdd28240d23eaa09390.tar.xz
zsh-6540e8d8cffba3e29c0adbdd28240d23eaa09390.zip
29916: Completion/Unix/Command/_git: Prevent clash with _remote_files() in _ssh.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_git4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 6221eb6a4..4a830f281 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -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