hack: update cherry-pick script to show subject when patch is split

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2016-10-06 11:44:15 -07:00
parent 6a9d56b35a
commit 81e99fad98

View File

@ -169,7 +169,7 @@ for pull in "${PULLS[@]}"; do
fi
}
# set the subject
subject=$(grep "^Subject" "/tmp/${pull}.patch" | sed -e 's/Subject: \[PATCH\] //g')
subject=$(grep -m 1 "^Subject" "/tmp/${pull}.patch" | sed -e 's/Subject: \[PATCH//g' | sed 's/.*] //')
SUBJECTS+=("#${pull}: ${subject}")
done
gitamcleanup=false