git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Setting submodule.recurse true can lead to loose of changes
@ 2019-05-15 14:02 Stefan Sonski
  0 siblings, 0 replies; only message in thread
From: Stefan Sonski @ 2019-05-15 14:02 UTC (permalink / raw)
  To: git

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
changes.

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

Stefan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-15 14:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-15 14:02 Setting submodule.recurse true can lead to loose of changes Stefan Sonski

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).