Ramkumar Ramachandra wrote:
> You can't control the most fundamental thing, stat(): this is the
> primary killer of performance on a large worktree.  There is currently
> no way to block stat(): new-style submodules offers a way to configure
> which submodules to block the stat() on.

Let me try to put this in simpler language.  When you run 'git status'
on your toplevel repository, old-style submodules runs git status on
each of the submodule repositories also: this is because submodules
were traditionally fixed; therefore, if you forget to commit some
changes in submodules before you make the superproject commit, you
might break the build.  In new-style submodules, you can prevent this
from happening on a link-specific basis.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to