summaryrefslogtreecommitdiffstats
path: root/git-update-index.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2006-04-29 07:02:01 +0000
committerJunio C Hamano <junio@hera.kernel.org>2006-04-29 07:02:01 +0000
commitc8d88c2181b2e1675c5057ec9446be2f6f7529b3 (patch)
treeff8704aff72f29d72cb8f8ddcf9b9066cbb54478 /git-update-index.html
parent6de0ecdcce3d89e64a763ff208d44a8e65e5b332 (diff)
downloadgit-htmldocs-c8d88c2181b2e1675c5057ec9446be2f6f7529b3.tar.gz
Autogenerated HTML docs for v1.3.1-g8971
Diffstat (limited to 'git-update-index.html')
-rw-r--r--git-update-index.html88
1 files changed, 65 insertions, 23 deletions
diff --git a/git-update-index.html b/git-update-index.html
index 196998933..00a23c7e8 100644
--- a/git-update-index.html
+++ b/git-update-index.html
@@ -595,34 +595,76 @@ to mark them as "assume unchanged").</p>
<div class="content">
<pre><tt>$ git-checkout-index -n -f -a &amp;&amp; git-update-index --ignore-missing --refresh</tt></pre>
</div></div>
-<p>On an inefficient filesystem with <tt>core.ignorestat</tt> set:</p>
+<dl>
+<dt>
+On an inefficient filesystem with <tt>core.ignorestat</tt> set
+</dt>
+<dd>
<div class="listingblock">
<div class="content">
-<pre><tt>$ git update-index --really-refresh <b>(1)</b>
-$ git update-index --no-assume-unchanged foo.c <b>(2)</b>
-$ git diff --name-only <b>(3)</b>
+<pre><tt>$ git update-index --really-refresh <b>(1)</b>
+$ git update-index --no-assume-unchanged foo.c <b>(2)</b>
+$ git diff --name-only <b>(3)</b>
$ edit foo.c
-$ git diff --name-only <b>(4)</b>
+$ git diff --name-only <b>(4)</b>
M foo.c
-$ git update-index foo.c <b>(5)</b>
-$ git diff --name-only <b>(6)</b>
+$ git update-index foo.c <b>(5)</b>
+$ git diff --name-only <b>(6)</b>
$ edit foo.c
-$ git diff --name-only <b>(7)</b>
-$ git update-index --no-assume-unchanged foo.c <b>(8)</b>
-$ git diff --name-only <b>(9)</b>
-M foo.c
-
-<b>(1)</b> forces lstat(2) to set "assume unchanged" bits for paths
- that match index.
-<b>(2)</b> mark the path to be edited.
-<b>(3)</b> this does lstat(2) and finds index matches the path.
-<b>(4)</b> this does lstat(2) and finds index does not match the path.
-<b>(5)</b> registering the new version to index sets "assume unchanged" bit.
-<b>(6)</b> and it is assumed unchanged.
-<b>(7)</b> even after you edit it.
-<b>(8)</b> you can tell about the change after the fact.
-<b>(9)</b> now it checks with lstat(2) and finds it has been changed.</tt></pre>
+$ git diff --name-only <b>(7)</b>
+$ git update-index --no-assume-unchanged foo.c <b>(8)</b>
+$ git diff --name-only <b>(9)</b>
+M foo.c</tt></pre>
</div></div>
+<ol>
+<li>
+<p>
+forces lstat(2) to set "assume unchanged" bits for paths that match index.
+</p>
+</li>
+<li>
+<p>
+mark the path to be edited.
+</p>
+</li>
+<li>
+<p>
+this does lstat(2) and finds index matches the path.
+</p>
+</li>
+<li>
+<p>
+this does lstat(2) and finds index does <strong>not</strong> match the path.
+</p>
+</li>
+<li>
+<p>
+registering the new version to index sets "assume unchanged" bit.
+</p>
+</li>
+<li>
+<p>
+and it is assumed unchanged.
+</p>
+</li>
+<li>
+<p>
+even after you edit it.
+</p>
+</li>
+<li>
+<p>
+you can tell about the change after the fact.
+</p>
+</li>
+<li>
+<p>
+now it checks with lstat(2) and finds it has been changed.
+</p>
+</li>
+</ol>
+</dd>
+</dl>
</div>
<h2>Configuration</h2>
<div class="sectionbody">
@@ -654,7 +696,7 @@ need to use <tt>git-update-index --chmod=</tt>.</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 22-Feb-2006 10:44:48 UTC
+Last updated 29-Apr-2006 07:01:35 UTC
</div>
</div>
</body>