/code> is probably a good policy in scripts.</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_using_temp_or_stageall">Using --temp or --stage=all</h2>
<div class="sectionbody">
<div class="paragraph">
<p>When <code>--temp</code> is used (or implied by <code>--stage=all</code>)
<em>git checkout-index</em> will create a temporary file for each index
entry being checked out.  The index will not be updated with stat
information.  These options can be useful if the caller needs all
stages of all unmerged en