Skip to content

Commit 00b4417

Browse files
committed
fix: cover remaining shellcheck issues in git-fixup
Yes, this is awkward, but there is not block-wide shellcheck ignore, only by-line or by-file.
1 parent c6a16cd commit 00b4417

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

git-fixup

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,13 @@ function fallback_menu() {
138138
;;
139139
help|h)
140140
local fmt="%s\n %s\n"
141+
# shellcheck disable=SC2059
141142
printf "$fmt" "<n>" "$op the <n>-th commit from the list" >&2
143+
# shellcheck disable=SC2059
142144
printf "$fmt" "s[how] <n>" "show the <n>-th commit from the list" >&2
145+
# shellcheck disable=SC2059
143146
printf "$fmt" "q[uit]" "abort operation" >&2
147+
# shellcheck disable=SC2059
144148
printf "$fmt" "h[elp]" "show this help message" >&2
145149
;;
146150
esac

0 commit comments

Comments
 (0)