From ce881820db83d0ca97e3c36f7449828cef80b033 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Mon, 5 Aug 2024 17:08:25 -0700 Subject: [PATCH] make shellcheck happy. #170 --- git-open | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-open b/git-open index efce3de..6adb949 100755 --- a/git-open +++ b/git-open @@ -259,7 +259,7 @@ elif [[ $remote_ref != "master" || "$file" ]]; then fi if [ "$file" ]; then - absfile=$(git ls-tree --full-name --name-only $branch $file) + absfile=$(git ls-tree --full-name --name-only "$branch" "$file") if [[ -z "$absfile" ]]; then echo "File $file is not in repository" 1>&2 exit 1