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:
@@ -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
|
||||
|
Reference in New Issue
Block a user