]> code.ossystems Code Review - openembedded-core.git/commit
combo-layer: only allow fast-forward when pulling
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 8 Jul 2015 10:59:48 +0000 (13:59 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jul 2015 14:08:40 +0000 (15:08 +0100)
commit5207169b9c6c4b05c6b043745905a5498adca1a3
treeadbff1bbbf0a26648b0db4b44c71aa0739798762
parentcef4de5cd6c12091146dc1ef02cd80e094c6728e
combo-layer: only allow fast-forward when pulling

Only allow fast-forward merges in the component repositories when doing
git-pull. This makes it possible to spot problems (i.e. rewriting of
history) in the component upstream . Also, this change prevents the
creation of local-only merge commits in the component repositories.
These merges cause "last_revision" field of the combo-layer config to
point to a git commit that is only present in the users local component
repository but nowhere in upstream.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/combo-layer