All changes
including newly-created and deleted files should be included. When
files are renamed, both the old and the new name should be included.</p>
</div>
<div class="paragraph">
<p>Git will limit what files it checks for changes as well as which
directories are checked for untracked files based on the path names
given.</p>
</div>
<div class="paragraph">
<p>An optimized way to tell git "all files have changed" is to return
the filename <code>/</code>.</p>
</div>
<div class="paragraph">
<p>The exit statu