Kaydet (Commit) 9f878187 authored tarafından Nick Treleaven's avatar Nick Treleaven

Update 'Filtering out version control files' section for new versions

of GNU Grep.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2326 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 2c0316a2
...@@ -27,6 +27,9 @@ ...@@ -27,6 +27,9 @@
Add keybindings_set_item() and add it to the plugin API. Add keybindings_set_item() and add it to the plugin API.
Set main menu widget accels with keybindings_set_item() - they are Set main menu widget accels with keybindings_set_item() - they are
ignored for now. Popup menu accels are set separately. 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> 2008-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <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> <title>Geany</title>
<meta name="authors" content="Enrico Tröger Nick Treleaven Frank Lanitz" /> <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"> <style type="text/css">
/* /*
...@@ -133,7 +133,7 @@ dt { ...@@ -133,7 +133,7 @@ dt {
<br />Nick Treleaven <br />Nick Treleaven
<br />Frank Lanitz</td></tr> <br />Frank Lanitz</td></tr>
<tr><th class="docinfo-name">Date:</th> <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> <tr><th class="docinfo-name">Version:</th>
<td>0.14</td></tr> <td>0.14</td></tr>
</tbody> </tbody>
...@@ -1091,14 +1091,10 @@ the grep tool.</p> ...@@ -1091,14 +1091,10 @@ the grep tool.</p>
under version control, you can set the <em>Extra options</em> field to use 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> 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> <p>SVN Example: <tt class="docutils literal"><span class="pre">--exclude=*.svn-base</span></tt></p>
<div class="note"> <p>The --exclude argument only matches the file name part, not the path. If
<p class="first admonition-title">Note</p> you have GNU Grep &gt;= 2.5.2 you can use the <tt class="docutils literal"><span class="pre">--exclude-dir</span></tt> argument to
<p class="last">The GNU Grep project added support for excluding directories, using filter out CVS and hidden directories like <tt class="docutils literal"><span class="pre">.svn</span></tt>.</p>
the --exclude-dir flag. At the time of writing (April 2007) this is <p>Example: <tt class="docutils literal"><span class="pre">--exclude-dir=.*</span> <span class="pre">--exclude-dir=CVS</span></tt></p>
unreleased outside of version control. Check your Grep manual to
see if your version supports it.</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> </div>
<div class="section"> <div class="section">
...@@ -3462,7 +3458,7 @@ USE OR PERFORMANCE OF THIS SOFTWARE.</p> ...@@ -3462,7 +3458,7 @@ USE OR PERFORMANCE OF THIS SOFTWARE.</p>
<div class="footer"> <div class="footer">
<hr class="footer" /> <hr class="footer" />
<a class="reference" href="geany.txt">View document source</a>. <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. 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> </div>
......
...@@ -877,13 +877,11 @@ grep's ``--exclude`` flag to filter out filenames. ...@@ -877,13 +877,11 @@ grep's ``--exclude`` flag to filter out filenames.
SVN Example: ``--exclude=*.svn-base`` SVN Example: ``--exclude=*.svn-base``
.. note:: The --exclude argument only matches the file name part, not the path. If
The GNU Grep project added support for excluding directories, using you have GNU Grep >= 2.5.2 you can use the ``--exclude-dir`` argument to
the --exclude-dir flag. At the time of writing (April 2007) this is filter out CVS and hidden directories like ``.svn``.
unreleased outside of version control. Check your Grep manual to
see if your version supports it.
CVS Example: ``--exclude-dir=.* --exclude-dir=CVS`` Example: ``--exclude-dir=.* --exclude-dir=CVS``
Replace Replace
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment