summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2015-03-26 14:54:05 +0100
committerYvan Roux <yvan.roux@linaro.org>2015-03-26 14:54:05 +0100
commite45aa7b399a90623f261b7eeacb32bf0ebb66848 (patch)
tree2f3e1b4acb3134272e5b60dc18b4edce567ee533
parent5b3527e67e2858ffda5c5e8b2f619d52c4cc2bda (diff)
Add some notes on how to change ref branch and when and how to stack
backports.
-rwxr-xr-xbackflip14
1 files changed, 14 insertions, 0 deletions
diff --git a/backflip b/backflip
index d122105..b857973 100755
--- a/backflip
+++ b/backflip
@@ -127,6 +127,14 @@ if ! which $CMPTOOL > /dev/null ; then
ask "Enter tool name: " CMPTOOL
fi
+echo -e "${blue}${lines}"
+print_info "Backport will de done on top of branch: ${bold}$DEV_BRANCH${NC}"
+print_info "Reference branch used for review is: ${bold}$REF_BRANCH${NC}"
+print_info "To change GCC version in a Linaro branch use ${bold}-v${NC}"
+print_info "example: ${bold}backflip -v 4.8${NC}"
+print_info "To change reference branch use ${bold}-r${NC}"
+print_info "example: ${bold}backflip -r master${NC}"
+
# ==============================================================================
print_step "Finding SHA1"
# ==============================================================================
@@ -194,6 +202,12 @@ if [ "$user_bc" != "n" ]; then
git commit
fi
+ echo
+ print_info "If you want to stack another backport on top of this one"
+ print_info "you can stop here, and invoke backflip with command:"
+ print_info "${bold}backflip -b ${bname} REV_NUMBER${NC}"
+ print_info "The next steps are only needed for review and validation.\n"
+
ask "${bold}Create patch [Y/n] ?" user_patch
if [ "$user_patch" != "n" ]; then
git format-patch -o ../ --suffix=.${bname}.patch -1