]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
devtool: upgrade: fix not committing deleted files with older git versions
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 8 Nov 2017 22:07:15 +0000 (11:07 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Nov 2017 14:44:31 +0000 (14:44 +0000)
commitc7f4c9f050c11c0de7fcf5badcc19a8fbc6428cf
tree9c25e2a7044e8c4f3efb26c5448b762313a14133
parent05e2c4ada7083f40866846a21fe76c852f1dfefe
devtool: upgrade: fix not committing deleted files with older git versions

With versions of git older than 2.0, "git add" on a deleted file (i.e.
in this case a file that was removed between versions) will not add the
delete to be committed by default, with the result that the rebase of
patches on top of the new branch will fail. We need to use the -A
option in order to force that for older git versions.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/upgrade.py