Kaydet (Commit) 73c40f95 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

fix issue with repeated I in case of amend commit

Change-Id: I2f0f02fb545ae6d63f2d4e46327f6ee402ab608c
üst f5ea2b5f
......@@ -100,7 +100,7 @@ add_ChangeId() {
return
fi
id=`grep -i '^Change-Id:' "$MSG" | sed -e "s/.*://"`
id=`grep -i '^Change-Id:' "$MSG" | sed -e "s/.*: I//"`
temp_msg=`grep -v -i '^Change-Id:' "$MSG"`
echo "$temp_msg" > "$MSG"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment