zsh-workers
 help / color / mirror / code / Atom feed
* [mdz@debian.org: Bug#147853: zsh: CVS completion should respect $CVSIGNORE]
@ 2002-05-23  6:18 Clint Adams
  2002-05-23 14:11 ` Bart Schaefer
  0 siblings, 1 reply; 8+ messages in thread
From: Clint Adams @ 2002-05-23  6:18 UTC (permalink / raw)
  To: zsh-workers

----- Forwarded message from Matt Zimmerman <mdz@debian.org> -----

>From the CVS docs "Ignoring files via cvsignore":

   * The list is initialized to include certain file name patterns:
[...]
   * The per-repository list in `$CVSROOT/CVSROOT/cvsignore' is
     appended to the list, if that file exists.

   * The per-user list in `.cvsignore' in your home directory is
     appended to the list, if it exists.

   * Any entries in the environment variable `$CVSIGNORE' is appended
     to the list.

   * Any `-I' options given to CVS is appended.

   * As CVS traverses through your directories, the contents of any
     `.cvsignore' will be appended to the list.  The patterns found in
     `.cvsignore' are only valid for the directory that contains them,
     not for any sub-directories.

--- /tmp/_cvs.old       Thu May 23 00:14:38 2002
+++ /usr/share/zsh/4.0.4/functions/Completion/Unix/_cvs Thu May 23 00:14:41 2002
@@ -964,6 +964,7 @@
       ${=cvsignore}
     )
     [[ -r ~/.cvsignore ]] && omitpats=($omitpats $(<~/.cvsignore))
+    omitpats=($omitpats $CVSIGNORE)
     [[ -r ${realdir}.cvsignore ]] && omitpats=($omitpats $(<${realdir}.cvsignore))
 
     _path_files -g "*~(*/|)(${(j:|:)~omitpats})(D.)"


----- End forwarded message -----


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-05-26 17:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-23  6:18 [mdz@debian.org: Bug#147853: zsh: CVS completion should respect $CVSIGNORE] Clint Adams
2002-05-23 14:11 ` Bart Schaefer
2002-05-25 22:54   ` Clint Adams
2002-05-26  6:41     ` Borsenkow Andrej
2002-05-26 14:37       ` Clint Adams
2002-05-26 16:13         ` Borsenkow Andrej
2002-05-26 16:34           ` Clint Adams
2002-05-26 17:44             ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).