From dc1df6671cd220a03da15a53c5870dbd7f0bc07d Mon Sep 17 00:00:00 2001 From: John Van de Meulebrouck Brendgard Date: Thu, 16 Nov 2023 12:11:09 +0100 Subject: [PATCH] Shellcheck needs to have the PAGER quoted in order to correctly interpret the meaning according to it's wiki. --- bump-tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bump-tag b/bump-tag index d69695f..a918b12 100755 --- a/bump-tag +++ b/bump-tag @@ -237,7 +237,7 @@ done echo "Differences between tag ${last_tag} and what you are about to sign:" # With PAGER=cat, git diff will simply dump the output to the screen. # shellcheck disable=SC2037 -PAGER=cat git diff --color "${last_tag}..${this_branch}" +PAGER="cat" git diff --color "${last_tag}..${this_branch}" # Iterate over the $last_tag until $this_tag is set to a later version iter=1