SF.net SVN: geany: [2326] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Wed Mar 12 17:46:19 UTC 2008


Revision: 2326
          http://geany.svn.sourceforge.net/geany/?rev=2326&view=rev
Author:   ntrel
Date:     2008-03-12 10:45:54 -0700 (Wed, 12 Mar 2008)

Log Message:
-----------
Update 'Filtering out version control files' section for new versions
of GNU Grep.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/geany.html
    trunk/doc/geany.txt

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-03-12 17:14:48 UTC (rev 2325)
+++ trunk/ChangeLog	2008-03-12 17:45:54 UTC (rev 2326)
@@ -27,6 +27,9 @@
    Add keybindings_set_item() and add it to the plugin API.
    Set main menu widget accels with keybindings_set_item() - they are
    ignored for now. Popup menu accels are set separately.
+ * doc/geany.txt, doc/geany.html:
+   Update 'Filtering out version control files' section for new versions
+   of GNU Grep.
 
 
 2008-03-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/doc/geany.html
===================================================================
--- trunk/doc/geany.html	2008-03-12 17:14:48 UTC (rev 2325)
+++ trunk/doc/geany.html	2008-03-12 17:45:54 UTC (rev 2326)
@@ -3,10 +3,10 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.4.1: http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
 <title>Geany</title>
 <meta name="authors" content="Enrico Tröger  Nick Treleaven  Frank Lanitz" />
-<meta name="date" content="2008-02-21" />
+<meta name="date" content="2008-03-07" />
 <style type="text/css">
 
 /*
@@ -133,7 +133,7 @@
 <br />Nick Treleaven
 <br />Frank Lanitz</td></tr>
 <tr><th class="docinfo-name">Date:</th>
-<td>2008-02-21</td></tr>
+<td>2008-03-07</td></tr>
 <tr><th class="docinfo-name">Version:</th>
 <td>0.14</td></tr>
 </tbody>
@@ -1091,16 +1091,12 @@
 under version control, you can set the <em>Extra options</em> field to use
 grep's <tt class="docutils literal"><span class="pre">--exclude</span></tt> flag to filter out filenames.</p>
 <p>SVN Example: <tt class="docutils literal"><span class="pre">--exclude=*.svn-base</span></tt></p>
-<div class="note">
-<p class="first admonition-title">Note</p>
-<p class="last">The GNU Grep project added support for excluding directories, using
-the --exclude-dir flag. At the time of writing (April 2007) this is
-unreleased outside of version control. Check your Grep manual to
-see if your version supports it.</p>
+<p>The --exclude argument only matches the file name part, not the path. If
+you have GNU Grep >= 2.5.2 you can use the <tt class="docutils literal"><span class="pre">--exclude-dir</span></tt> argument to
+filter out CVS and hidden directories like <tt class="docutils literal"><span class="pre">.svn</span></tt>.</p>
+<p>Example: <tt class="docutils literal"><span class="pre">--exclude-dir=.*</span> <span class="pre">--exclude-dir=CVS</span></tt></p>
 </div>
-<p>CVS Example: <tt class="docutils literal"><span class="pre">--exclude-dir=.*</span> <span class="pre">--exclude-dir=CVS</span></tt></p>
 </div>
-</div>
 <div class="section">
 <h3><a class="toc-backref" href="#id42" id="replace" name="replace">Replace</a></h3>
 <p>The Replace dialog is used for replacing text in one or more open
@@ -3462,7 +3458,7 @@
 <div class="footer">
 <hr class="footer" />
 <a class="reference" href="geany.txt">View document source</a>.
-Generated on: 2008-03-07 15:41 UTC.
+Generated on: 2008-03-12 17:42 UTC.
 Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
 
 </div>

Modified: trunk/doc/geany.txt
===================================================================
--- trunk/doc/geany.txt	2008-03-12 17:14:48 UTC (rev 2325)
+++ trunk/doc/geany.txt	2008-03-12 17:45:54 UTC (rev 2326)
@@ -877,13 +877,11 @@
 
 SVN Example: ``--exclude=*.svn-base``
 
-.. note::
-    The GNU Grep project added support for excluding directories, using
-    the --exclude-dir flag. At the time of writing (April 2007) this is
-    unreleased outside of version control. Check your Grep manual to
-    see if your version supports it.
+The --exclude argument only matches the file name part, not the path. If
+you have GNU Grep >= 2.5.2 you can use the ``--exclude-dir`` argument to
+filter out CVS and hidden directories like ``.svn``.
 
-CVS Example: ``--exclude-dir=.* --exclude-dir=CVS``
+Example: ``--exclude-dir=.* --exclude-dir=CVS``
 
 
 Replace


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list