Skip to content

commit-binaries: Disable strict mode in commit_msg_body()

It's possible that some subcommands (such as git remote get-url or repo info) fail. In that case, commit_msg_body() aborts immediately because of the shell opts we use (-e, -u, -o pipefail).

When commit_msg_body() aborts, we get empty commit messages bodies, such as [1].

Disable strict mode to avoid empty commit messages bodies as we prefer to have some information than nothing at all.

[1] baylibre/ti/android/aosp/vendor/ti/am62x@cf301774 Signed-off-by: Mattijs Korpershoek mkorpershoek@baylibre.com

/cc @glaroque @mfournier @nkbelin

Edited by Mattijs Korpershoek

Merge request reports

Loading