1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-08-18 21:00:15 +02:00

Prepare for a single branch on gerrit

Discourage all direct pushes to the upstream repositories, no matter the
branch. Also, skip adding Change-Ids to fixup! and squash! commits.

Change-Id: I13aa478edd200ce85da86962e4f94f7ac446b05f
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/22330
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Nico Huber
2017-11-03 18:22:39 +01:00
parent 22f2dc5ec0
commit 0bfa8198ae
2 changed files with 7 additions and 54 deletions

View File

@@ -44,11 +44,10 @@ add_ChangeId() {
return
fi
# *Do* add Change-Id to temp commits (original code bails out here)
# if echo "$clean_message" | head -1 | grep -q '^\(fixup\|squash\)!'
# then
# return
# fi
if echo "$clean_message" | head -1 | grep -q '^\(fixup\|squash\)!'
then
return
fi
if test "false" = "`git config --bool --get gerrit.createChangeId`"
then