I have no time to look at the whole series, or even at the patch, but I
have concerns. Do you really remove the whole directory? Because if you
do, you remove more than what can be possibly reconstructed from the
object store.
That is much more dangerous than what "git rm" does.
For example, you can have local branches, remote settings, untracked
files, etc. in the subdirectory. And that cannot be recovered once
deleted.
I wonder if it really makes sense to integrate that into git-rm, and not
git-submodule, if only to introduce another level of consideration for the
user before committing what is potentially a big mistake.
Ciao,
Dscho
--
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