On 11/3/07, Junio C Hamano <gitster@xxxxxxxxx> wrote: > How does this work when you are a toplevel developer and do not > have the submodule cloned and checked out? > > Our code should treat having the submodule directory and not > having it when there is a mode 160000 entry in the index equally > likely. Cloning and checking-out is _not_ the norm (nor the > exception). > When submodule is not cheched out, it is never modified. In this case modules variable will be empty ( since git diff --cached is used) and the corrosponding module directory will not be checked. So the output will be the same as the original output. -- franky - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html