Well, historically, you literally would just do
git update-index --refresh
to do that.
"git status" is fairly newfangled, and is purely because users from other
SCM's expected that kind of command to exist. The fact that as part of it
running it does that update-index is really just a side effect.
Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html