summaryrefslogtreecommitdiff
path: root/backflip
diff options
context:
space:
mode:
Diffstat (limited to 'backflip')
-rwxr-xr-xbackflip3
1 files changed, 2 insertions, 1 deletions
diff --git a/backflip b/backflip
index 60bee04..7acbe90 100755
--- a/backflip
+++ b/backflip
@@ -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