Change the br action to branch to be more explicit.

This commit is contained in:
Eric Hudon 2018-03-18 13:32:28 -04:00
commit f871ae4975
No known key found for this signature in database
GPG key ID: 3C4829F72918290D
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