summaryrefslogtreecommitdiffstats
path: root/git-svn.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-04-12 18:31:19 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-04-12 18:31:19 +0000
commit55344411a8808b31a1e78c652e8f8aaf336e8202 (patch)
tree4ceb10aa82468533ae30db8951e3abd15b63e268 /git-svn.html
parent8d0d953b44c40fe12b58f4f92650a7ed57514711 (diff)
downloadgit-htmldocs-55344411a8808b31a1e78c652e8f8aaf336e8202.tar.gz
Autogenerated HTML docs for v1.6.2.2-494-gee7ec
Diffstat (limited to 'git-svn.html')
-rw-r--r--git-svn.html40
1 files changed, 32 insertions, 8 deletions
diff --git a/git-svn.html b/git-svn.html
index ed92e309e..7eb3461f6 100644
--- a/git-svn.html
+++ b/git-svn.html
@@ -468,6 +468,16 @@ Subversion updated from git by the <em>dcommit</em> command.</p></div>
projects that share a common repository.
</p>
</dd>
+<dt>
+--ignore-paths=&lt;regex&gt;
+</dt>
+<dd>
+<p>
+ When passed to <em>init</em> or <em>clone</em> this regular expression will
+ be preserved as a config key. See <em>fetch</em> for a description
+ of <em>--ignore-paths</em>.
+</p>
+</dd>
</dl></div>
</dd>
<dt>
@@ -490,6 +500,14 @@ Subversion updated from git by the <em>dcommit</em> command.</p></div>
makes <em>git-log</em> (even without --date=local) show the same times
that <tt>svn log</tt> would in the local timezone.
</p>
+</dd>
+<dt>
+--parent
+</dt>
+<dd>
+<p>
+ Fetch only from the SVN parent of the current HEAD.
+</p>
<div class="para"><p>This doesn't interfere with interoperating with the Subversion
repository you cloned from, but if you wish for your local Git
repository to be able to interoperate with someone else's local Git
@@ -501,23 +519,29 @@ the same local timezone.</p></div>
</dt>
<dd>
<p>
- This allows one to specify Perl regular expression that will
+ This allows one to specify a Perl regular expression that will
cause skipping of all matching paths from checkout from SVN.
- Examples:
+ The <em>--ignore-paths</em> option should match for every <em>fetch</em>
+ (including automatic fetches due to <em>clone</em>, <em>dcommit</em>,
+ <em>rebase</em>, etc) on a given repository.
</p>
+<div class="para"><p>config key: svn-remote.&lt;name&gt;.ignore-paths</p></div>
<div class="literalblock">
<div class="content">
-<pre><tt>--ignore-paths="^doc" - skip "doc*" directory for every fetch.</tt></pre>
+<pre><tt>If the ignore-paths config key is set and the command
+line option is also given, both regular expressions
+will be used.</tt></pre>
</div></div>
+<div class="para"><p>Examples:</p></div>
<div class="literalblock">
<div class="content">
-<pre><tt>--ignore-paths="^[^/]+/(?:branches|tags)" - skip "branches"
- and "tags" of first level directories.</tt></pre>
+<pre><tt>--ignore-paths="^doc" - skip "doc*" directory for every
+ fetch.</tt></pre>
</div></div>
<div class="literalblock">
<div class="content">
-<pre><tt>Regular expression is not persistent, you should specify
-it every time when fetching.</tt></pre>
+<pre><tt>--ignore-paths="^[^/]+/(?:branches|tags)" - skip
+ "branches" and "tags" of first level directories.</tt></pre>
</div></div>
</dd>
</dl></div>
@@ -1342,7 +1366,7 @@ should be manually entered with a text-editor or using <em>git-config</em>.</p><
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-04-02 06:50:05 UTC
+Last updated 2009-04-12 18:31:04 UTC
</div>
</div>
</body>