 then this would
force-refresh everything in the index, which was not the point.  But
since <em>git checkout-index</em> accepts --stdin it would be faster to use:</p>
</div>
<div class="listingblock">
<div class="content">
<pre>$ find . -name '*.h' -print0 | git checkout-index -f -z --stdin</pre>
</div>
</div>
<div class="paragraph">
<p>The <code>--</code> is just a good idea when you know the rest will be filenames;
it will prevent problems with a filename of, for example,  <code>-a</code>.
Using <code>--<