about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-07-22 14:41:50 +0000
committerClint Adams <clint@users.sourceforge.net>2002-07-22 14:41:50 +0000
commitbec76f8979d0feb4f48c7c8d14fa9f9ef4d2ea71 (patch)
tree6bb73df3c63acf00cb9e6358e648b1f79cdade27
parentd73780e8749953f716f0e19cdbf960dae0f2d786 (diff)
downloadzsh-bec76f8979d0feb4f48c7c8d14fa9f9ef4d2ea71.tar.gz
zsh-bec76f8979d0feb4f48c7c8d14fa9f9ef4d2ea71.tar.xz
zsh-bec76f8979d0feb4f48c7c8d14fa9f9ef4d2ea71.zip
17459: exclude files which have RCS kflags for cvs add.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_cvs2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 59013f157..83dd57dc2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-22  Clint Adams  <clint@zsh.org>
+
+       * Akira, 17459: Completion/Unix/Command/_cvs: exclude files which have
+       RCS kflags for cvs add.
+
 2002-07-01  Clint Adams  <clint@zsh.org>
 
 	* 17391: Completion/Debian/Command/_dpkg: complete files after
diff --git a/Completion/Unix/Command/_cvs b/Completion/Unix/Command/_cvs
index 2e1d7c29a..da32ddfde 100644
--- a/Completion/Unix/Command/_cvs
+++ b/Completion/Unix/Command/_cvs
@@ -963,7 +963,7 @@ _cvs_nonentried_files () {
   realdir=${(e)~linedir}
   [[ -f "$realdir"CVS/Entries ]] && {
     omitpats=(
-      ${${${${(M)${(f)"$(<"$realdir"CVS/Entries)"}:#(D|)/*}#(D|)/}%%/*}//(#m)[][*?()<|^~#\\]/\\$MATCH}
+      ${${${${(M)${${(f)"$(<"$realdir"CVS/Entries)"}:#/*/-*/*/*/*}:#(D|)/*}#(D|)/}%%/*}//(#m)[][*?()<|^~#\\]/\\$MATCH}
       $_cvs_ignore_default
       ${=cvsignore}
     )