Web lists-archives.com

Setting submodule.recurse true can lead to loose of changes

Hi all,

I discovered a potential bug regarding submodules and the use of
rebase and stash.

When setting the configuration submodule.recurse true, doing changes
in the super project and also given submodule, these changes are lost,
when doing a rebase or stash. The stash even shows these changes with
stash show -p, but trying to apply them, leads also to a lost of these

Removing submodule.recurse and setting fetch.recurseSubmodules and
push.recurseSubmodules fixes this problem, because the submodule is
not touched.