e>GIT_OPTIONAL_LOCKS</code></dt>
<dd>
<p>If set to <code>0</code>, Git will complete any requested operation without
performing any optional sub-operations that require taking a lock.
For example, this will prevent <code>git status</code> from refreshing the
index as a side effect. This is useful for processes running in
the background which do not want to cause lock contention with
other operations on the repository.  Defaults to <code>1</code>.</p>
</dd>
<dt class="hdlist1"><code>GIT_REDIRECT_STDIN</code>