t / t5100 / msg0006on commit submodule: teach rm to remove submodules unless they contain a git directory (293ab15)
   1Here is a patch from A U Thor.
   2