]> code.ossystems Code Review - openembedded-core.git/commit
classes/buildhistory: record removals in buildhistory directory
authorJonathan Liu <net147@gmail.com>
Fri, 31 May 2013 11:09:14 +0000 (11:09 +0000)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 10 Jun 2013 15:15:16 +0000 (16:15 +0100)
commita27f04ac89b8e58931b7792fbd1adeabef21f7b0
treeb2ce362cbe721edc24be662e069d7dd04a86819d
parent17d787ba8825ea97d7898eaa329e16ae86dd072d
classes/buildhistory: record removals in buildhistory directory

"git add ." does not record files that were removed in the buildhistory
directory. Specify the -A flag to also record removals.

This was discovered by the following warning added in Git 1.8.3:
warning: You ran 'git add' with neither '-A (--all)' or '--ignore-removal',
whose behaviour will change in Git 2.0 with respect to paths you removed.

(From OE-Core master rev: a45a247e2cfa58892a0c9eb050d603a38cd839db)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass