File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# shellcheck disable=SC2155 # Declare and assign separately to avoid masking return values.
4- # shellcheck disable=SC1091 # Not following: ./fzf_headers/__select_local_branch_header was not specified as input (see shellcheck -x)
4+ # shellcheck disable=SC1091 # Not following: ./fzf_headers/__select_branch_header was not specified as input (see shellcheck -x)
55
6- source " ${__CUSTOM_GIT_UTIL} " /fzf_headers/__select_local_branch_header
6+ source " ${__CUSTOM_GIT_UTIL} " /fzf_headers/__select_branch_header
77
88# Usage: __select_local_branch "gswitch" "select local branch to switch to" "exit"
99function __select_local_branch() {
1010
1111 local cmd=" ${1} "
1212 local cmdMsg=" ${2} "
1313 local escAction=" ${3} "
14- local HEADER=" $( __select_local_branch_header " ${cmd} " " ${cmdMsg} " " ${escAction} " ) "
14+ local HEADER=" $( __select_branch_header " ${cmd} " " ${cmdMsg} " " ${escAction} " ) "
1515 local branchName=" $( git branch --sort=-committerdate | \
1616 fzf --height=50%\
1717 --header " ${HEADER} " | \
Original file line number Diff line number Diff line change 66
77source " ${__CUSTOM_CONSOLE_UTIL} " /__common # for colors
88
9- # Usage: __select_local_branch_header "gswitch" "select local branch" "exit"
10- function __select_local_branch_header () {
9+ # Usage: __select_branch_header "gswitch" "select local branch" "exit"
10+ function __select_branch_header () {
1111
1212 local cmd=" ${1} "
1313 local cmdMsg=" ${2} "
You can’t perform that action at this time.
0 commit comments