utils: update-mojo.sh: Commit the mojo update
Commit the mojo update with a standardized commit message. As mojo is imported as-is without local modifications, this simplifies usage of the update script. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
a9adb798e1
commit
3a74a36316
1 changed files with 16 additions and 6 deletions
|
@ -72,9 +72,19 @@ EOF
|
|||
echo "$readme" > utils/ipc/mojo/README
|
||||
echo "$readme" > utils/ipc/tools/README
|
||||
|
||||
cat <<EOF
|
||||
------------------------------------------------------------
|
||||
mojo updated. Please review and up-port local changes before
|
||||
committing.
|
||||
------------------------------------------------------------
|
||||
EOF
|
||||
# Commit the update. Use 'git commit -n' to avoid checkstyle pre-commit hook
|
||||
# failures, as mojo doesn't comply with the Python coding style enforced by
|
||||
# checkstyle.py.
|
||||
git add utils/ipc/mojo/
|
||||
git add utils/ipc/tools/
|
||||
|
||||
echo "utils: ipc: Update mojo
|
||||
|
||||
Update mojo from commit
|
||||
|
||||
$(git -C "${chromium_dir}" show --pretty='%H "%s"' --no-patch)
|
||||
|
||||
from the Chromium repository.
|
||||
|
||||
The update-mojo.sh script was used for this update." | \
|
||||
git commit -n -s -F -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue