diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2015-03-13 13:17:43 +0100 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2015-03-13 13:17:43 +0100 |
commit | 65b2fd241d17bdff8d29e73ee2796c40c5c9b851 (patch) | |
tree | 9e9e4592dc66cdbd636c891a834650f80c3eb0ce | |
parent | 804b383eb991e71232e615c9505b0d0dfbcec274 (diff) |
Add user's first name to the backport branch name.
-rwxr-xr-x | backflip | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,6 +14,7 @@ LINARO_REF_BRANCH=linaro-${VERSION}-branch DATE=`date +%Y-%m-%d` NAME=`git config user.name` +FNAME=`echo ${NAME} | cut -d ' ' -f 1` EMAIL=`git config user.email` EDITOR="${EDITOR:-vim}" @@ -106,7 +107,7 @@ fi # ============================================================================== print_step "Branch/Commit/Push/Review" # ============================================================================== -bname=${VERSION}-backport-${1} +bname=${FNAME}-${VERSION}-backport-${1} ask "${bold}Create backport branch [Y/n] ?" user_bc if [ "$user_bc" != "n" ]; then ask "${bold}Change name (${blue}${bname}${NC}${bold}) [N/y] ?" user_bname |