summaryrefslogtreecommitdiffstats
path: root/git-filter-branch.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-11-21 17:37:37 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-11-21 17:37:37 +0000
commit3b70d3c788363466e56886d9fc5d316659cda627 (patch)
tree93140aff56d58afe94727490c401e1cbe78f2748 /git-filter-branch.html
parenta5574469119a1d5e9f98cc629e1959eca9719ba9 (diff)
downloadgit-htmldocs-3b70d3c788363466e56886d9fc5d316659cda627.tar.gz
Autogenerated HTML docs for v1.6.5.3-298-g39add
Diffstat (limited to 'git-filter-branch.html')
-rw-r--r--git-filter-branch.html19
1 files changed, 17 insertions, 2 deletions
diff --git a/git-filter-branch.html b/git-filter-branch.html
index 3d38c193c..a6278f818 100644
--- a/git-filter-branch.html
+++ b/git-filter-branch.html
@@ -495,10 +495,25 @@ to other tags will be rewritten to point to the underlying commit.</p></div>
<p>
Only look at the history which touches the given subdirectory.
The result will contain that directory (and only that) as its
- project root.
+ project root. Implies --remap-to-ancestor.
</p>
</dd>
<dt>
+--remap-to-ancestor
+</dt>
+<dd>
+<p>
+ Rewrite refs to the nearest rewritten ancestor instead of
+ ignoring them.
+</p>
+<div class="para"><p>Normally, positive refs on the command line are only changed if the
+commit they point to was rewritten. However, you can limit the extent
+of this rewriting by using <a href="rev-list.html">rev-list(1)</a> arguments, e.g., path
+limiters. Refs pointing to such excluded commits would then normally
+be ignored. With this option, they are instead rewritten to point at
+the nearest ancestor that was not excluded.</p></div>
+</dd>
+<dt>
--prune-empty
</dt>
<dd>
@@ -772,7 +787,7 @@ and the git list &lt;git@vger.kernel.org&gt;</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-11-15 09:57:07 UTC
+Last updated 2009-11-21 17:36:55 UTC
</div>
</div>
</body>