Change the br action to branch to be more explicit. (#6678)

This commit is contained in:
Eric Hudon 2018-03-18 17:10:34 -04:00 committed by Robby Russell
commit 5f2c34374b
2 changed files with 2 additions and 1 deletions

View file

@ -60,7 +60,7 @@ function jira() {
else
# Anything that doesn't match a special action is considered an issue name
# but `branch` is a special case that will parse the current git branch
if [[ "$action" == "br" ]]; then
if [[ "$action" == "branch" ]]; then
local issue_arg=$(git rev-parse --abbrev-ref HEAD)
local issue="${jira_prefix}${issue_arg}"
else