Signed-off-by: Aníbal Limón <anibal.li...@linux.intel.com> --- modules/utils/git.py | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/modules/utils/git.py b/modules/utils/git.py index 48ed46d..d7f5713 100644 --- a/modules/utils/git.py +++ b/modules/utils/git.py @@ -61,6 +61,9 @@ class Git(object): def create_patch(self, out_dir): return self._cmd("format-patch -M10 -1 -o " + out_dir) + def apply_patch(self, patch_file): + return self._cmd("am %s" % patch_file) + def status(self): return self._cmd("status --porcelain") -- 2.1.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto