Skip to content

Commit 9e6398c

Browse files
author
Bhavi Dhingra
committed
style: rename header file
1 parent 4a050cc commit 9e6398c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

util/__select_local_branch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
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"
99
function __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}" |\

util/fzf_headers/__select_local_branch_header renamed to util/fzf_headers/__select_branch_header

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
source "${__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}"

0 commit comments

Comments
 (0)