about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_git4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3645503f5..e21fc7731 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
 *****************************************************
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