]> code.ossystems Code Review - openembedded-core.git/commit
combo-layer: partial import for '--history init'
authorPatrick Ohly <patrick.ohly@intel.com>
Thu, 12 Mar 2015 16:09:41 +0000 (17:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Mar 2015 11:03:10 +0000 (11:03 +0000)
commit74f4c9e3bcdb3c4ca919623086e92a9379bd81ff
tree9d5ba62b14ccea68239ff2f6d220c12011f9c88c
parent220d816cda3c9b8d888288cc03eb74be5e71cc59
combo-layer: partial import for '--history init'

The new "since_revision" property can be used to cut off the imported
history at some point. This is useful to keep the resulting repository
smaller while still preserving enough history that "git annotate"
reports the right author and commit for most lines.

The initial, squashed import commit shows up with "unknown" as author
in the "git annotate" output. It has the repository name as prefix
in the subject line; importing that commit works best with a
layer hook which does not add the repository name again when
it is already present. Adding it here is useful for hooks
which do not extend the subject line.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/combo-layer
scripts/combo-layer.conf.example