From: Junio C Hamano Date: Mon, 13 Jan 2014 19:33:47 +0000 (-0800) Subject: Merge branch 'jl/submodule-mv-checkout-caveat' X-Git-Tag: v1.9-rc0~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a65a53bf04c56ae2365f57702a810af0551899a1;p=thirdparty%2Fgit.git Merge branch 'jl/submodule-mv-checkout-caveat' With a submodule that was initialized in an old fashioned way without gitlinks, switching branches in the superproject between the one with and without the submodule may leave the submodule working tree with its embedded repository behind, as there may be unexpendable state there. Document and warn users about this. * jl/submodule-mv-checkout-caveat: rm: better document side effects when removing a submodule mv: better document side effects when moving a submodule --- a65a53bf04c56ae2365f57702a810af0551899a1