Changeset View
Changeset View
Standalone View
Standalone View
tools/tools/git/arcgit
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | create_review() | ||||
if [ -n "$dry_run" ] | if [ -n "$dry_run" ] | ||||
then | then | ||||
return | return | ||||
fi | fi | ||||
git checkout $commit > /dev/null || error "Could not checkout $commit" | git checkout $commit > /dev/null || error "Could not checkout $commit" | ||||
arc_dir="$(git rev-parse --show-toplevel)/.git/arc" | arc_dir="$(git rev-parse --git-dir)/arc" | ||||
arc_msg="$arc_dir/create-message" | arc_msg="$arc_dir/create-message" | ||||
mkdir -p $arc_dir | mkdir -p $arc_dir | ||||
git show -s --format='%B' HEAD > $arc_msg | git show -s --format='%B' HEAD > $arc_msg | ||||
echo >> $arc_msg | echo >> $arc_msg | ||||
echo "Test Plan:" >> $arc_msg | echo "Test Plan:" >> $arc_msg | ||||
cat $test_plan >> $arc_msg | cat $test_plan >> $arc_msg | ||||
echo >> $arc_msg | echo >> $arc_msg | ||||
echo "Reviewers:" >> $arc_msg | echo "Reviewers:" >> $arc_msg | ||||
▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines |