list mirror (unofficial, one of many)
 help / color / 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

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


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

only message in thread, back to index

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 list mirror (unofficial, one of many)

Archives are clonable:
	git clone --mirror
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Newsgroups are available over NNTP:

 note: .onion URLs require Tor:

AGPL code for this site: git clone public-inbox