Similarly to how git itself does it, allow the index update operation to stage a change in a submodule's HEAD.